News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

custom links in footer

Started by iorG19, October 19, 2017, 06:36:17 PM

Previous topic - Next topic

iorG19

Hi folks,

I wonder how can i add some custom links in footer or some banner.
My point is to put a little banner 15px x 80px (right) aligned before default links:
help in /index.php?action=help
rules in index.php?action=help;sa=rules

and so on...

My question is:
What's the file should i edit and where is it?
Thank you in advance and cheers.

Sir Osis of Liver

index.template.php



echo '
<ul>
<li class="floatright"><a href="', $scripturl, '?action=help">', $txt['help'], '</a> ', (!empty($modSettings['requireAgreement'])) ? '| <a href="' . $scripturl . '?action=help;sa=rules">' . $txt['terms_and_rules'] . '</a>' : '', ' | <a href="#top_section">', $txt['go_up'], ' ▲</a></li>
<li class="copyright">', theme_copyright(), '</li>
</ul>';


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

iorG19

yes i fond it but i don't know how to put it;

can you do it for me please with the example bellow

<a href="http://www.google.com"> <img src="{url_of_img}" height="15px" width="80px" border="0" alt="hello, Join me"></a>

Sir Osis of Liver



<li class="floatright"><img src="{url_of_img}" height="15px" width="80px" border="0" alt="hello, Join me"><a href="', $scripturl, '?action=help">', $txt['help'], '</a>


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

aegersz

The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Arantor

That mod doesn't list compatibility with 2.1 - and that would put it above the footer not in the footer itself where these links are (by default in 2.1)

Advertisement: