Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Page Type control?

Go to End

2 Posts   1471 Views


Community Member, 148 Posts

18 October 2008 at 10:16am

Hi, is there any way of testing for a particular page type? For example, I only want to include certain code on gallery pages .... is there any way of doing something like this:

<% if PageType = GalleryPage %>
do something
<% end_if %>


Community Member, 244 Posts

18 October 2008 at 10:38am

Hi galilee,

you can just use something like this in your template:

<% if ClassName = GalleryPage %>