WebsiteBaker Support (2.8.x) > Templates, Menus & Design

show_menu2 error: $aOptions is invalid. No flags from group 1 supplied!

<< < (3/5) > >>

Craxx:
Oh oh oh thx a lot for your advice.... So i hope to get that in the right way. I will take my time to change and test values. Hope i can ask when i am too rookie to get that in the right way.....

thx a lot and best regards
Craxx;)

Craxx:
After a long time i have to less time and much more less knowledge to correct the template.

HMMM, perhaps it is possible for the cracks to correct my template in a few minutes. Please help me...
Tell me a price, i will pay for it:)

THX a lot:)
Craxx;)

Craxx:
It is solved - erpe helped me. THX a lot:)

best regards
Craxx;)

Tomno399:
I am really glad that ERPE helped you. But what shall we other do? My server logfile is filled with this errors and ich would like to change it clean but I am not a coder. What shall I do?

In the template "Sobresot" I have more than one call of the show_menu2, but I don't know which one (or more?) is wrong:


--- Code: ---show_menu2(0, SM2_ROOT, SM2_CURR, SM2_CRUMB, '<span class="[class]"> &raquo; [a][menu_title]</a></span>', '', '', '', ''.$breadcrumbstart.' &raquo; <span class="[class]">[a][menu_title]</a></span>');
--- End code ---


--- Code: ---show_menu2(1, SM2_ROOT+1, SM2_ALL, SM2_ALL, '<li class="[class]"><a href="[url]" target=[target] class="[class]"><span>[menu_title]</span></a>', "</li>", '<ul>', '</ul>', true, '<ul id="topmenu" class="nav sm sm-clean">');
--- End code ---


--- Code: ---show_menu2(1, SM2_CURR+1, SM2_CURR+1, '', '<li class="[class]">[a][menu_title]</a></li>', '', '', '', '');
--- End code ---

And how can I repair it?


dbs:
Hi, in your third code is the 4th parameter missing.
Try SM2_TRIM

--- Code: ---show_menu2(1, SM2_CURR+1, SM2_CURR+1, 'SM2_TRIM', '<li class="[class]">[a][menu_title]</a></li>', '', '', '', '');
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version