Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 874
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot Users Online:

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


Thanks for having an interest with our portal. If you have any requests for features, have a look at the Feature Requests board.

Forum Menu Block Issue

Started by big red, December 19, 2010, 12:05:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

big red

    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.

AngelinaBelle

Looks like some bad html.  Can we see the bad html?
The menu block does

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.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?