SOLVED: Template Problem
SOLVED: Template Problem
I have installed "Panoramica" template for my CMSMS, but I got an error message:
string(81) "Smarty error: unable to read resource: "module_db_tpl:MenuManager;pixalhaushoriz""
and both menus (top and right hand side) do not show up. I am fairly new to this, and has just
installed CMSMS, so it is quite possible that solution for that is simple.
This template is in a form of XML and you can actually view the page with the problem here:
http://www.poloniabusiness.com/index.php
I am not sure if there is anything else important, besides the fact that images for this template
are in the upload/Panoramica folder and permission for images is: 644
string(81) "Smarty error: unable to read resource: "module_db_tpl:MenuManager;pixalhaushoriz""
and both menus (top and right hand side) do not show up. I am fairly new to this, and has just
installed CMSMS, so it is quite possible that solution for that is simple.
This template is in a form of XML and you can actually view the page with the problem here:
http://www.poloniabusiness.com/index.php
I am not sure if there is anything else important, besides the fact that images for this template
are in the upload/Panoramica folder and permission for images is: 644
Last edited by andrzejek on Thu Oct 25, 2007 11:04 pm, edited 1 time in total.
Re: Template Problem
Here is the menu template, seems as tho the theme manager is having a problem, check to see if the other menu tempalte made it in...
Go to Layout » Menu Manager click add template copy/paste this in to it name it and click submit...
{* CSS classes used in this template:
.active - The active page in the horizontal menu (first level).
.bullet_sectionheader - To style section header
hr.separator - To style the ruler for the separator *}
{if $count > 0}
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="" times=$node->depth-$node->prevdepth}
{elseif $node->depth prevdepth}
{repeat string="" times=$node->prevdepth-$node->depth}
{elseif $node->index > 0}
{/if}
{if $node->current == true or $node->parent == true}
url}"{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}
{elseif $node->type == 'sectionheader'}
url}">{$node->menutext}
{elseif $node->type == 'separator'}
{else}
url}"{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}{/if}
{/foreach}
{repeat string="" times=$node->depth-2}
{/if}
Go to Layout » Menu Manager click add template copy/paste this in to it name it and click submit...
{* CSS classes used in this template:
.active - The active page in the horizontal menu (first level).
.bullet_sectionheader - To style section header
hr.separator - To style the ruler for the separator *}
{if $count > 0}
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="" times=$node->depth-$node->prevdepth}
{elseif $node->depth prevdepth}
{repeat string="" times=$node->prevdepth-$node->depth}
{elseif $node->index > 0}
{/if}
{if $node->current == true or $node->parent == true}
url}"{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}
{elseif $node->type == 'sectionheader'}
url}">{$node->menutext}
{elseif $node->type == 'separator'}
{else}
url}"{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}{/if}
{/foreach}
{repeat string="" times=$node->depth-2}
{/if}
Re: Template Problem
I don't think it helped. Now I have 3 menu templates. Should I do something else to activate it.
Re: Template Problem
What does the {menu} tag say in the template?...
Re: Template Problem
I hope you are asking for this:
{cms_module module='menumanager' template='bulletmenu' number_of_levels='1' template='pixalhaushoriz'}
{cms_module module='menumanager' template='Panoramica : ellnav-vert' start_level='2' collapse='1'}
{cms_module module='menumanager' template='bulletmenu' number_of_levels='1' template='pixalhaushoriz'}
{cms_module module='menumanager' template='Panoramica : ellnav-vert' start_level='2' collapse='1'}
Re: Template Problem
If you have the named menu templates in place all ready you need to remove the template='bulletmenu' menu tag only takes one template call...
Wonder how that got in there...
Wonder how that got in there...
Re: Template Problem
I have removed that but no change. I have tried few templates, then removed all of them as I wanted to stay with this one. Is it possible that this changes something. I am really new to this so, you have to bear with my minimal knoweledge.
Re: Template Problem
You do have the pixalhaushoriz template in menu manager?...
you can use this for your tag...
{menu number_of_levels='1' template='pixalhaushoriz'}
you can use this for your tag...
{menu number_of_levels='1' template='pixalhaushoriz'}
Re: Template Problem
We are getting somewhere. Top menu is working 
I have done the same change for the side menu:
{menu start_level='2' collapse='1' template='Panoramica : ellnav-vert'} (template name is correct)
but this one does not show up and there is no error. Could be that this menu is not active?

I have done the same change for the side menu:
{menu start_level='2' collapse='1' template='Panoramica : ellnav-vert'} (template name is correct)
but this one does not show up and there is no error. Could be that this menu is not active?
Re: Template Problem
My mistake, there were no sub categories on the Home page, therefore menu would not work.
It works fine on other pages.
Thank you for your help. No I am no my way to learn more about CMS.
It works fine on other pages.
Thank you for your help. No I am no my way to learn more about CMS.
Re: SOLVED: Template Problem
i just want everyone whos new to know this
as for the panoramica template and some others i suspect
heres the problem i saw.. since i had the same exact error message and ll i did to fix it was this
simply head to menu manager and yoll see the menues name like so
Panoramica : ellnav-vert
Panoramica : pixelhaus somethin somethin
they are named wrong
change "Panoramica : ellnav-vert" to "ellnav-vert"
and POOF! it works ... ill be dambed!
i recomment fixing little type o"s like this on the distribution.. just my oppinion but it would help a allready wonderfull product go even farther!
as for the panoramica template and some others i suspect
heres the problem i saw.. since i had the same exact error message and ll i did to fix it was this
simply head to menu manager and yoll see the menues name like so
Panoramica : ellnav-vert
Panoramica : pixelhaus somethin somethin
they are named wrong
change "Panoramica : ellnav-vert" to "ellnav-vert"
and POOF! it works ... ill be dambed!
i recomment fixing little type o"s like this on the distribution.. just my oppinion but it would help a allready wonderfull product go even farther!
Re: SOLVED: Template Problem
The exporting of templates will usually only take one menu template, at least in the older ver. of CMSMS that these templates were made in...
Re: SOLVED: Template Problem
ive noticed lately that i get a weired error with most of the templates since upgrading to 1.2.2.
(im not on 1.2.3 couse it sticks on "site down for maintenance" when i do so i gave up
)
when uploading i get version mismatch?
weired
now i kinda like the non xml version of the templates better anywho
i think there should be a zip option for download
so we can manually place templates or get parts from them without having to upload it to do so
(im not on 1.2.3 couse it sticks on "site down for maintenance" when i do so i gave up

when uploading i get version mismatch?
weired
now i kinda like the non xml version of the templates better anywho
i think there should be a zip option for download
so we can manually place templates or get parts from them without having to upload it to do so