Pages

<!-- IF SCRIPT_NAME --> doesn't work - Pages

<!-- IF SCRIPT_NAME --> doesn't work

by Neverlands » Thu Mar 28, 2019 12:03 am

Hello,
i am trying to exclude a page (mydomain.com/pagename) from some content.
phpBB Version: 3.2.5 / Pages Extension Version: 2.03

Code: Select all

<!-- IF SCRIPT_NAME eq 'pagename' --> 
<!-- ELSE -->
Content
<!-- ENDIF -->
Unfortunately this does not work.

Is there any other possibility?
User avatar
Neverlands
Registered User
Posts: 57
Joined: Thu Sep 05, 2002 12:06 am
Location: Vienna / Austria
Contact:

Re: <!-- IF SCRIPT_NAME --> doesn't work

by Neverlands » Thu Mar 28, 2019 12:43 am

Solved it with

Code: Select all

<!-- IF PAGE_TITLE eq 'pagename' --> 
User avatar
Neverlands
Registered User
Posts: 57
Joined: Thu Sep 05, 2002 12:06 am
Location: Vienna / Austria
Contact: