Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Check for homepage (not category list, search list, author list)
Ah, OK, thanks Oleg.
Offline
Re: Check for homepage (not category list, search list, author list)
Oleg, I’m probably thinking it wrongly but I’m wondering if <txp:page_url type="s" />
actually recognizes the front page or any page using the default section, like the second page of an article list which uses the particular section.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Check for homepage (not category list, search list, author list)
colak wrote #288820:
Oleg, I’m probably thinking it wrongly but I’m wondering if
<txp:page_url type="s" />
actually recognizes the front page or any page using the default section, like the second page of an article list which uses the particular section.
Yiannis, you are right, it only checks the section name, not the presence of other filters. But we can add <txp:page_url type="pg" />
to the chain to detect also these cases.
Offline