Paul
  • Member for 7 years, 6 months
  • Last seen more than a month ago
Conditional anchor in structure url
2 votes

There was a typo hidden in there, otherwise the logic works. To get children as anchors in a structure, the following should do the trick: {parent.uri}{% if object.getDescendants().total() != 0 %}/{% ...

View answer
File upload - maximum upload size of 0 B
2 votes

I had the same problem, changing post_max_size in php.ini to something other than 0 (I used 8M) did it for me. I'm not sure why this works: php.ini says a value of 0 should disable the limit ...

View answer
Is it possible to limit users to adding/editing entries in specific categories?
1 votes

I found another workaround which works quite well: I create a user group where users can only edit their entries.

View answer
Remove entry enable/disable for user
1 votes

As Tom mentioned, you can use the Control Panel CSS plugin alongside this CP Body Classes plugin, also by the same great dev. Basically it will add user group classes to the body.

View answer
Adding a new site returns 503 Service Unavailable
Accepted answer
0 votes

System status was disabled, enabling it solved the problem. Now I'm not sure if this is the expected behavior, what threw me off was that I could still preview the primary site. I'm guessing on multi-...

View answer
Mutiple sites and locales
Accepted answer
0 votes

There's actually a feature request which describes what I'm trying to achieve. It's doable in Craft 3.2 by enabling Save entries to other sites in the same site group and managing translations at ...

View answer