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, biapar, Willr, Ingo, simon_w

Page titles


Reply

4 Posts   1175 Views

Avatar
sherman

15 July 2008 at 6:38am Community Member, 48 Posts

What tag if any can I use to display the main navigation title above my sub nav?
Right now im using $MenuTitle but if I go to a sub level page the title changes to that page name.

So is there a tag that references the main navigation title?

Avatar
Hamish

15 July 2008 at 8:13am Community Member, 712 Posts

How about:

<% if Parent %>
<h2>$Parent.Title</h2>
<% else %>
<h2>$Title</h2>
<% end_if %>

Avatar
sherman

15 July 2008 at 8:15am Community Member, 48 Posts

thanks!

Avatar
cerelac

23 July 2008 at 3:44am (Last edited: 23 July 2008 11:21pm), Community Member, 34 Posts

Hi.
I've created a new page type that handles forms.
I use a "Holder" that display all the forms beneath it.
What I would like to know is how can I put a link in the forms new pagetype (the page type I've created based on UserDefinedForm) to its parent (the holder, in this case)?

Thank you.

EDIT: I've created a new template file for the "custom" form pagetype and I've used the code to make a link to its Parent.
I think my problem is resolved, thank you Hamish.