Page 1 of 1
Menu Manager Database Templates kicking back smarty errors
Posted: Mon Mar 05, 2007 7:15 pm
by mrk
In the Menu Manager i created duplicates of the cssmenu.tpl one called top_bar.tpl and bottom_bar.tpl.
but when i go to use them it is kicking back smarty errors.
string(80) "Smarty error: unable to read resource: "module_file_tpl:MenuManager;top_bar.tpl""
and
string(83) "Smarty error: unable to read resource: "module_file_tpl:MenuManager;bottom_bar.tpl""
i have inserted both into my template like this:
and
am i missing something here.
if i use:
it works fine.
Thanks in advance.
Re: Menu Manager Database Templates kicking back smarty errors
Posted: Mon Mar 05, 2007 7:37 pm
by cyberman
mrk wrote:
i have inserted both into my template like this:
and
Looks like there are some name conventions and sign
_ makes trouble ...
Re: Menu Manager Database Templates kicking back smarty errors
Posted: Mon Mar 05, 2007 7:51 pm
by mrk
Hey thanks for your quick response Cyberman, but i changed them by removing the underscore "_" but it is still kicking back those same errors
here's a link:
http://nafc2.com/
THanks again.
Re: Menu Manager Database Templates kicking back smarty errors
Posted: Mon Mar 05, 2007 8:29 pm
by chead
Probably a silly question, but are your topbar and bottombar templates saved in the database or as files? The 'template' parameter is different depending on where the template is stored.
From help:
(optional) template="bulletmenu.tpl" - The template to use for displaying the menu. Templates will come from the database templates unless the template name ends with .tpl, in which case it will come from a file in the MenuManager templates directory
Re: Menu Manager Database Templates kicking back smarty errors
Posted: Mon Mar 05, 2007 8:32 pm
by cyberman
Are there real menu manager template files inside menu managers template folder? If not and duplicated mm templates are stored in database, you have to cut ".tpl"
Re: Menu Manager Database Templates kicking back smarty errors
Posted: Mon Mar 05, 2007 9:03 pm
by mrk
Thanks y'all we are getting closer. cutting the ".tpl" killed the error message and the bottom bar is showing just fine, but the top bar is just not showing at all. when i "view source" it shows in the the html but it is nto showing up on screen.
the link again is:
http://nafc2.com/
Re: Menu Manager Database Templates kicking back smarty errors
Posted: Mon Mar 05, 2007 9:24 pm
by cyberman
Have seen you import some stylesheets - maybe there are some "crossing" stylesheets

...
[solved] Menu Manager Database Templates kicking back smarty errors
Posted: Mon Mar 05, 2007 9:30 pm
by mrk