SimplePortal
Customization => Themes and Graphics => Topic started 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.
-
Find:
// 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:
// 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>';
-
Thank you so much! Works like a champ!
:applause: