Hi There,
I’m trying to be a bit clever and use only the index template to display a list of entries when segment 2 is blank, and then a single entry when a url_title is passed to segment 2. So a shortened version of my code looks like:
{if segment_2==""}
[display list of entries]
{if:elseif}
[display single entry]
{/if}This works all well and good, but it obviously breaks pagination. I like having URLs like:
domain.com/template_group/entry_url_title
As I find them much cleaner than having another template to create a URL like:
domain.com/template_group/view/entry_url_titleHas anyone tried doing it this way and got past the pagination problem?