Customizing SMF > Theme Site Themes

.Extreme 6.

<< < (4/78) > >>

Sinan ANDIRMAN:
not at all major ;)

Nomar:
I really like this theme, good job!

Fussilet:
thanks Nomar

M@nNiak:
hi, like i said before its a great theme, so i am some newbie in this matter and i want to know how put more options in the menu bar, because i want to put there a link to the Rules and FAQ of mi forum also the link to the staff page.

Hope you can help me, and again Great Job.  ;D

Fussilet:

--- Quote from: M@nNiak on October 12, 2008, 02:34:34 PM ---hi, like i said before its a great theme, so i am some newbie in this matter and i want to know how put more options in the menu bar, because i want to put there a link to the Rules and FAQ of mi forum also the link to the staff page.

Hope you can help me, and again Great Job.  ;D

--- End quote ---

Hello Manniak,

open index.template.php

find:


--- Code: ---   // Show the [help] button.
echo '<li><a href="', $scripturl, '?action=help" class="kwick opt2" >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.png" alt="' . $txt[119] . '" style="margin: 0px 0;" border="0" /><span>' : $txt[119]), '</span></a></li>';
--- End code ---

add after

              // Show the [ button name ] button.
                  echo '<li><a href="', $scripturl, 'Link" class="kwick opt2" >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/gallery.png" alt="' . $txt[' boardname in languages '] . '" style="margin: 0px 0;" border="0" /><span>' : $txt[ boardname in languages ]), '</span></a></li>';

example:

              // Show the [Forum] button.
                  echo '<li><a href="', $scripturl, '?action=forum" class="kwick opt2" >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/forum.png" alt="' . $txt['tp-forum'] . '" style="margin: 0px 0;" border="0" /><span>' : $txt['tp-forum']), '</span></a></li>';


Regards....

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version