Eric Chantigny
  • Member for 6 years, 9 months
  • Last seen more than 2 years ago
Element API: Is it possible to ignore/skip an Entry?
1 votes

Couldn't you modify the criteria to exclude that entry ? id => "not X"

View answer
Craft templates in sub directory
1 votes

You can't create a url path that goes to a _*** folder. If you rename your folder without the underscore, it should work. Folders that uses underscores are kind of protected and can only be used by ...

View answer
Possible to set Forgotten Password path in config?
Accepted answer
1 votes

I think that this is because Craft never needs to get there by itself. It's a page you will always link to in one of your templates. So in theory, you can simply link directly to your Forgotten ...

View answer
Entries object getting reset after a relatedTo query
1 votes

Based on the bug report found here (https://github.com/craftcms/cms/issues/2160), I am now creating a variable that contains all of the items prior to filtering it. {% set entries = craft.entries....

View answer
Protecting paths with htpasswd
1 votes

Using htaccess/htpasswd in each folder does work, but I don't find it really elegant. Would there be a better way of doing this without Craft's users?

View answer
How to setup a multi-lingual site on IIS
Accepted answer
4 votes

Looks like it was only because I was missing the clear tag in my rules in the subfolders. Everything works like a charm now.

View answer
Multi-lingual site with a splash (language select screen) at the root
Accepted answer
5 votes

Well that was easy enough. I had forgotten about the .htaccess in the subfolders. Everything works like planned now. public/.htaccess (redirects to craft.php if file doesn't exist) public/index....

View answer
Displaying entires by year from a custom date field
Accepted answer
3 votes

Looks like I finally found an answer to it year being my param date being my custom date field {% set dateParam = 'and, >= ' ~ year ~ '-01-01, < ' ~ (year + 1) ~ '-01-01' %} <ul> {% ...

View answer
Bilingual site page URL issues
Accepted answer
3 votes

Well... the answer was quite simple. 'siteUrl' => array( 'en_ca' => 'http://localhost/mysite', 'fr_ca' => 'http://localhost/mysite/fr', ), The _ca part was what was missing. Now my ...

View answer