Navigator Template not working?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

Navigator Template not working?

Post by rbaby »

I have a default navigator template and another that I created for the footer. I've set my template to call:

{Navigator template="Footer Menu"}

Footer Menu
- Type: Navigator::Navigation
- In Design Manager->Designs

I've tried it with no space, I've tried it with the template ID, I've tried with quotes, without quotes, single quotes...I've cleared cache and can't seem to get it to reference the footer menu template.

Any guidance on what I could be doing wrong?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Navigator Template not working?

Post by velden »

...and can't seem to get it to reference the footer menu template.
Note that you should use unique FUNCTION names inside the Navigator template(s) if you're using them in one page template.
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

Re: Navigator Template not working?

Post by rbaby »

velden wrote:
...and can't seem to get it to reference the footer menu template.
Note that you should use unique FUNCTION names inside the Navigator template(s) if you're using them in one page template.
Thank you velden! That solved it :). Is that in the documentation? I kept looking at it under Navigator and creating your own template, but didn't see that there...perhaps it's in another place I just wasn't looking.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Navigator Template not working?

Post by velden »

It's 'documented' in sample template that uses function 'Simple Navigation' for example:

Code: Select all

{* note, function can only be defined once *}
BTW: I think it's a Smarty limitation.
Locked

Return to “CMSMS Core”