News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

HELP! Drop Down Menu

Started by nathan89, October 19, 2008, 03:51:23 PM

Previous topic - Next topic

nathan89

Under the "qlinks" tab only two of the links show up.  The other links are in the menu if you click on them but do not show up.
heres the website:
http://crohnssociety.com


),
),
'qlinks' => array(
'title' => 'Qlinks',
'show' => true,
'sub_buttons' => array(
'calendar' => array(
'title' => $txt['calendar'],
'href' => $scripturl . '?action=calendar',
'show' => true,
),
'sitemap' => array(
'title' => $txt['sitemap'],
'href' => 'http://crohnssociety.com/sitemap',
'show' => true,
),
'Gallery' => array(
'title' => $txt['gallery'],
'href' => $scripturl . '?action=mgallery',
'show' => true,
),
'map' => array(
'title' => $txt['map'],
'href' => $scripturl . '?action=googlemap',
'show' => true,
),
'chat' => array(
'title' => $txt['chat'],
'href' => 'http://crohnssociety.com/chat/flashchat.php',
'show' => true,
),
),
),
'help' => array(
'title' => $txt['help'],
'href' => $scripturl . '?action=help',
'show' => true,
'sub_buttons' => array(
),
),


what could be causing this??


Nathaniel

Its most likely that the $txt['gallery'], $txt['map'] and $txt['chat'] variables don't exist. You can use 'Gallery', 'Map' and 'Chat' instead.

Like this:
'title' => 'Gallery',
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

nathan89

That worked! Thank you

What is the code to center all of the buttons throughout the entire menu.

Rumbaar

Look to add the center style information to the menu generation code in your index.template.php file.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Advertisement: