Re: Dynamic page/sub-page title
Posted: Fri Aug 25, 2006 3:52 pm
two things I can think of off the top of my head: Not that I've tried anything though.
a) create another menu manager template that doesn't create links, just creates the and tags, etc. and
use that to create your pseudo breadcrumbs thing.
b) create a user defined tag that returns the page title of the parent page, and then use that udt in your template.
i.e: {get_parent_title}{title}
Then, with some smarty magic you could handle this like:
I'd start by trying use the get_template_vars plugin at the bottom of your page to see what variables are defined.. You may be lucky and the parent may be defined somewhere.
a) create another menu manager template that doesn't create links, just creates the and tags, etc. and
use that to create your pseudo breadcrumbs thing.
b) create a user defined tag that returns the page title of the parent page, and then use that udt in your template.
i.e: {get_parent_title}{title}
Then, with some smarty magic you could handle this like:
Code: Select all
{get_parent_title|assign var="parent"}
{if parent != ""}
<H1>{$parent}</H1>
<H3>{title}<H3>
{else}
<H1>{title}</H1>
{/if}
I'd start by trying use the get_template_vars plugin at the bottom of your page to see what variables are defined.. You may be lucky and the parent may be defined somewhere.