I like using 2 if statements, one for the main posts page and another for the individual. In some situations I could see how this could be useful, say if you have multiple things linking to different template styles, but when you have only two with a blog it's kinda overkill.
For better URLs I've just been adding rules into the template that takes the segments out of the URL when calling the channel entry. It's always made sense to me and I assumed it was the done thing but seeing this module seems like a sloppy way around. Maybe I'm missing something but to me it makes sense to have the index of a group setup with some rules to call different templates based on segments in the URL. Am I missing something?
I like using 2 if statements, one for the main posts page and another for the individual. In some situations I could see how this could be useful, say if you have multiple things linking to different template styles, but when you have only two with a blog it's kinda overkill.
Spike90 1 month ago
For better URLs I've just been adding rules into the template that takes the segments out of the URL when calling the channel entry. It's always made sense to me and I assumed it was the done thing but seeing this module seems like a sloppy way around. Maybe I'm missing something but to me it makes sense to have the index of a group setup with some rules to call different templates based on segments in the URL. Am I missing something?
lBurt0n 2 months ago