Hi Folks,
Have been using Expression Engine for a while but ran into the following problem:
How do I conditionally display content exclusive to a permalink title?
Consider the following scenario:
1 > http://www.domain.com/blog <—displays all blog articles subject to pagination rules.
2 > http://www.domain.com/blog/article_name (The permalink article)
3 > http://www.domain.com/blog/C/category <—- displays all articles corresponding to a given category
I’m able to conditionally display only {summary} content for 1 and 3 using the if_category_request and if not_category_request fields.
I’m using a simple {if:else} to redirect to the permalink article with {summary}{body}{extended}
It is here I want to embed a third party commenting system - Disqus
How do I ensure the URL’s like http://www.domain.com/Px/ or www.domain.com/year/month/xx don’t trip this? (Eg: When you visit the parent blog it shows only a summary of articles with a link to read more. It does the same for categories, by only showing a summary). But when you click on a date range it shows all the articles with all the detail - how do I ensure that even date range URL request only show a summary?
The only rules within expression engine I can find explicitly allow me to single out a category request but not a date or pagination request.
Sorry in advance if this is a naive question, but it’s really throwing me for a loop. Another way to ask this question is how do I ensure that any summary list (be it category / date / etc) shows only a article summary and only when a fully qualified URL is passed to a single article shows it in full detail?
I was hoping there was a command like {if title_permalink} ...