Questions tagged [segments]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
3answers
1k views

How do I display a category name based on a segment?

I'm trying to show the category_name of segment_3. If I use the variable {segment_3} it displays the short name, I want to show the Full name. Any suggestions? Thanks in advance.
3
votes
4answers
2k views

Detect any pagination in a conditional

I've got a site where it shows different content dependent on the url segments (categories eugh!) but as there can be up to 4 url segments, any of which could have pagination, i want to be able to say ...
0
votes
2answers
266 views

'Fuzzy' conditionals

feeling little dumb for this. What I am trying to do is to make my list of checkboxes checked depending on {segment_5} If the value is '6', that is easy with <input type="checkbox" name="...