how to reduce the number of templates? [solved]
Posted: Thu Jan 18, 2007 3:00 pm
hi
i make a multilanguage website
i choose for a menu structure something like this
german
g1
g2
english
e1
e2
french
fr1
fr2
the page structure are the same for german eglish french pages
just the content are different because the language
my problem is that
i must make for every language a separate template because of menu, links ...
for german
for english
as you can see
just theese rows are different
{cms_module module='menumanager' template='cssmenu.tpl' start_level="3" start_page=german}
{cms_module module='menumanager' template='cssmenu.tpl' start_level="3" start_page=english}
{cms_module module='menumanager' start_page="links_german" template='hotlinks1'}
{cms_module module='menumanager' start_page="links_english" template='hotlinks1'}
how can i make something like this
{cms_module module='menumanager' template='cssmenu.tpl' start_level="3" start_page=}
and language comes from a php script
thanks
i make a multilanguage website
i choose for a menu structure something like this
german
g1
g2
english
e1
e2
french
fr1
fr2
the page structure are the same for german eglish french pages
just the content are different because the language
my problem is that
i must make for every language a separate template because of menu, links ...
for german
Code: Select all
<div id="menucontainer"> <img src="images/mpsbb_05.jpg" id="logopos">
<table id="menutable" cellpadding="0" cellspacing="0" height="" border="0" style="float: left;">
<tr>
<td id="exclude"><img src="images/mpsb_02.jpg"> </td>
<td>{cms_module module='menumanager' template='cssmenu.tpl' start_level="3" start_page=german}</td>
</tr>
</table>
</div>
<div id="submaincontainer">
<div id="leftpad">{content block="imageleft"}
<div id="textcontainerpad">
{cms_module module='menumanager' start_page="links_german" template='hotlinks1'}
Code: Select all
<div id="menucontainer"> <img src="images/mpsbb_05.jpg" id="logopos">
<table id="menutable" cellpadding="0" cellspacing="0" height="" border="0" style="float: left;">
<tr>
<td id="exclude"><img src="images/mpsb_02.jpg"> </td>
<td>{cms_module module='menumanager' template='cssmenu.tpl' start_level="3" start_page=english}</td>
</tr>
</table>
</div>
<div id="submaincontainer">
<div id="leftpad">{content block="imageleft"}
<div id="textcontainerpad">
{cms_module module='menumanager' start_page="links_english" template='hotlinks1'}
just theese rows are different
{cms_module module='menumanager' template='cssmenu.tpl' start_level="3" start_page=german}
{cms_module module='menumanager' template='cssmenu.tpl' start_level="3" start_page=english}
{cms_module module='menumanager' start_page="links_german" template='hotlinks1'}
{cms_module module='menumanager' start_page="links_english" template='hotlinks1'}
how can i make something like this
{cms_module module='menumanager' template='cssmenu.tpl' start_level="3" start_page=}
and language comes from a php script
thanks