Gavin Anderegg
  • Member for 7 years, 7 months
  • Last seen more than a week ago
How do I sort and display event entries when each event can have multiple start times?
1 votes

One thing you could do is have all screenings be Events, and then have Films be a type which contains the film's data, but use relationships to link to multiple Events which are the film's screening ...

View answer
How Can I Output Only the First Word of the Title of an Entry in a Template?
Accepted answer
12 votes

Yes, you can do this with Twig alone. Here's how: {{ entry.title|split(' ')|slice(0, 1)|join }} This series of Twig filters: Uses split to turn the title into an array, splitting on spaces. Passes ...

View answer
URI not shown anymore for structures?
Accepted answer
3 votes

For each entry type, there is now an easy way to manage what columns are shown. From the admin, if you choose Entries from the main navigation, and then go to the entry type in question, you should ...

View answer
How do I make the "%20" in URL's show as "-"
Accepted answer
6 votes

Edited I just learned this, but as of Craft 2.4, there's a kebab filter which you can use here. This would probably give you the effect you're after, where the string "two words" would become "two-...

View answer