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   1204 Views

Avatar
sherman

Community Member, 48 Posts

15 July 2008 at 6:38am

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

Community Member, 712 Posts

15 July 2008 at 8:13am

How about:

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

Avatar
sherman

Community Member, 48 Posts

15 July 2008 at 8:15am

thanks!

Avatar
cerelac

Community Member, 34 Posts

23 July 2008 at 3:44am

Edited: 23/07/2008 11:21pm

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.