Page 1 of 1

Navigator Template not working?

Posted: Tue May 31, 2016 4:33 am
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?

Re: Navigator Template not working?

Posted: Tue May 31, 2016 7:15 am
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.

Re: Navigator Template not working?

Posted: Tue May 31, 2016 7:44 am
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.

Re: Navigator Template not working?

Posted: Tue May 31, 2016 8:03 am
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.