We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
List page title in detail template
I'm using a list and detail page on a site. The layout for the list page is different to the detail page. I wanted to add the main title of the list page into the detail template but don't know how to add this in. I could be missing something really straightforward but just can't find how to do this.
In the code below I am wanting the title of the list page i.e. "Products" to be added between the a tag. I've tried using various id tags but these output numbers, ideally I would like the navigation text output here.
<div class="page_title_surround"> <h2><span><a href="?s=<perch:content id="slug" type="slug" />"><perch:content id="perch_item_zero_index" type="hidden" output="text" /></a></span></h2> <ul> <li>//</li> <li><perch:content id="title" type="text" label="Product title" required="true" title="true" /></li> </ul> </div>
Thanks for any help.
Want to reply to this thread?Login with Perch