SimplePortal

Support => English Support => Topic started by: big red on December 19, 2010, 12:05:05 PM

Title: Forum Menu Block Issue
Post by: big red on December 19, 2010, 12:05:05 PM
    Hello

  I'm in the process of changing my main menu (first level only) to "buttons" which look much better  :D. However, the forum menu block is all messed up now as you can see from the included image. Could someone show me what i need to edit to fix this issue??

     Thanks!

 EDIT: Sorry - this is only for a custom theme edit. The other 2 themes i have including curve, will use the default menu (not new buttons) and the forum menu block works fine!

  SMF RC4 & Latest SP version.
Title: Re: Forum Menu Block Issue
Post by: AngelinaBelle on December 23, 2010, 02:02:42 AM
Looks like some bad html.  Can we see the bad html?
The menu block does
Code: [Select]
if (empty($context['menu_buttons']))
  setupMenuContext();
 echo '
        <ul class="sp_list" id="sp_menu">';
 foreach ($context['menu_buttons'] as $act => $button)
 {
  echo '
         <li>', sp_embed_image('dot'), ' <a title="', $button['title'], '" href="', $button['href'], '">', ($button['active_button'] ? '<strong>' : ''), $button['title'], ($button['active_button'] ? '</strong>' : ''), '</a>';
---
etcetera
If the block has gotten messed up, it would almost seem like the menu context is somehow messed up. But it is hard to tell where things first started to go wrong.
SimplePortal 2.3.8 © 2008-2024, SimplePortal