10691 Posts in 2798 Topics by 1519 members
Jump to:If this is your first visit, you will need to register before you can post. However, you can browse all messages below.
| Page: 1 | go to end | Reply | |
| Author | Topic: How do I get the page type from the templatesystem? | 416 views |

23 May 2008 at 6:03am
On my site I have a menu which is similar to a tree, which expands the nodes down to one level deeper than the current page. This is working fine, however, I don't want to show the children of a BlogHolder. Is this possible using only templating or do I have to subclass and override BlogHolder::Children (I'm using children for the menu)?

23 May 2008 at 3:10pm
Use the tag "ClassName"
Ie, if you put $ClassName in your template you'll see the page type.
Or, to display the menu conditionally:
<!-- your menu here -->
<% end_if %>
| 416 views | |||
| go to top | Reply |