returning to homepage...

Started by hsubryan, September 13, 2006, 12:29:54 PM

Previous topic - Next topic

hsubryan

Hello everyone,
I just finished installing smf and everything works fine. I'm using a "lean" css style sheet.
one thing though, I need to create a link to my main homepage.  I figured out how to duplicate
the links at the top and know where the are located in the index. template, however, I can't seem
to figure out how to actually initiate the link.

I duplicated the home link,(show in italics) now all I need to do is reference this to my homepage.

any help would be appreciated.
thanks

Brian S.

// Show the menu up top.  Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;


// Show the [home] and [help] buttons.
echo '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/ud.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '


<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[120] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '

<a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];


sawz

keep smiling, they'll always wonder what your up too.....

Advertisement: