WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Problem with the templeron-template after update sp1 (2.8.2.)
VCRulez:
Same problem here. Would be great if someone could provide help with the correct code. I also think, that this theme is still popular.
DarkViper:
ok, this should work:
1.: remove any code between <!-- Top Menu --> and <!-- // Top Menu -->
2: replace it by following code:
--- Code: ---<?php
show_menu2(0, SM2_ROOT, SM2_START, SM2_ALL|SM2_PRETTY,
'<li class="premuto"><a href="[url]" title="[page_title]">[menu_title]</a>',
'<li class="divisoremenu"></li></li>',
'<ul class="menu"><li class="divisoremenu"></li>',
'</ul>', false, false);
?>
--- End code ---
untested and without any guaranty! ;-)
dbs:
short tested, code should better be:
--- Code: ---<!-- Top Menu -->
<?php
show_menu2(0, SM2_ROOT, SM2_START, SM2_ALL|SM2_PRETTY,
'<li class="premuto"><a class="menuHead" href="[url]" title="[page_title]">[menu_title]</a>',
'<li class="divisoremenu"> </li>',
'<ul id="menu">',
'</ul>', false, false);
?>
<!-- // Top Menu -->
--- End code ---
VCRulez:
--- Quote from: dbs on September 19, 2011, 02:23:31 PM ---short tested, code should better be:
--- Code: ---<!-- Top Menu -->
<?php
show_menu2(0, SM2_ROOT, SM2_START, SM2_ALL|SM2_PRETTY,
'<li class="premuto"><a class="menuHead" href="[url]" title="[page_title]">[menu_title]</a>',
'<li class="divisoremenu"> </li>',
'<ul id="menu">',
'</ul>', false, false);
?>
<!-- // Top Menu -->
--- End code ---
--- End quote ---
Working fine! Thank you very much! :-)
nene:
Unfortunately, its not working for me. I get the error below
Parse error: syntax error, unexpected '&', expecting T_STRING or T_VARIABLE or '$' in /home/awutse/public_html/templates/templeron/index.php on line 48
Can anyone help me?
Thanks
Nene
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version