SimplePortal

Customization => Themes and Graphics => Topic started by: Untamed on July 22, 2009, 06:22:27 PM

Title: Adding Forum Menu - confused
Post by: Untamed on July 22, 2009, 06:22:27 PM
Good day.  I have reviewed the guide to edit the template files but the information for modifying the 'Help' menu isn't matching up to what is in the guide.  I was hoping for a little assistance in editing the files to add the 'Forum' link to the from page.

I have attached the 'Display.template.php' and 'index.template.php' for your review.

Thank you for your help.
Title: Re: Adding Forum Menu - confused
Post by: ccbtimewiz on July 22, 2009, 09:00:50 PM
Find:
Code: [Select]
  // Show the [home] button.
echo '<li><a href="', $scripturl, '" class="kwick opt1">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.png" alt="' . $txt[103] . '" style="margin: 0px 0;" border="0" /><span>' : $txt[103]), '</span></a></li>';

Replace with:
Code: [Select]
  // Show the [home] button.
echo '<li><a href="', $scripturl, '" class="kwick opt1">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.png" alt="' . $txt[103] . '" style="margin: 0px 0;" border="0" /><span>' : $txt[103]), '</span></a></li>';

  // Show the [forum] button.
echo '<li><a href="', $scripturl, '?action=forum" class="kwick opt1">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/forum.png" alt="Forum" style="margin: 0px 0;" border="0" /><span>' : 'Forum'), '</span></a></li>';
Title: Re: Adding Forum Menu - confused
Post by: Untamed on July 23, 2009, 05:51:53 AM
Thank you so much!  Works like a champ!

 :applause:
SimplePortal 2.3.8 © 2008-2024, SimplePortal