2011-06-12, 10:26 AM
Hello,
right now I try to add some items to the menu.
It works if I enable it, but it does not remove it, if I try to disable it:
Enable:
Disable:
I tried it again and again, but I can not fix it.
Anyone who knows why?
right now I try to add some items to the menu.
It works if I enable it, but it does not remove it, if I try to disable it:
Enable:
find_replace_templatesets("header", '#</ul>#', '<li><a href="{$mybb->settings[\'bburl\']}/mySite.php">mySite</a></li></ul>');
Disable:
find_replace_templatesets("header", "#<li><a href=\"\{\$mybb->settings[\'bburl\']}/mySite.php\">mySite</a></li>#", "", 0);
I tried it again and again, but I can not fix it.
Anyone who knows why?