Jump to content
WebFlake
  • 0

Add tekst and links to footer.


Bernard_H

Question

Hi, 

I'm running ipb version 4

I was wondering if somebody knows how I can add a custom link or Tekst to the footer from the forum. There are already a couple links like: 'contact' and 'privacy policy', but I didn't add this myself. 

I need this to add partner links from a couple sites. So if anybody have tips or suggestions to make this possible, please let me know

Kind regards, 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 2

There's as far as I'm aware no plugin that makes this code-free possible, but you can add it yourself however. 

Go to ACP > Customization > Appearance > Themes > Your Theme > Edit HTML/CSS (button that looks like: </> ) > footer

Scroll down until you see

 

{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'contact' ) ) and !( \IPS\Dispatcher::i()->application->directory == 'core' and \IPS\Dispatcher::i()->module and \IPS\Dispatcher::i()->module->key == 'contact' )}}
        <li><a href='{url="app=core&module=contact&controller=contact" seoTemplate="contact"}' data-ipsdialog data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage='{lang="contact_sent_blurb"}' data-ipsdialog-title="{lang="contact"}">{lang='contact'}</a></li>
    {{endif}}
Add the following after the {{endif}} bit.
<li><a href="http://partnersite.com" target="_new">Partner Name</a></li>
So it looks like this:
          <li><a href="http://webflake.sx" target="_new">Webflake</a></li>

Giving you this effect:

cWDeNIs.png

Add the code for each partner site.

 

Don't forget to include http:// or else the board thinks it's a link on your site!

  • Upvote 1
Link to comment
Share on other sites

  • 0

Not a lot todo with this but when your on it i also suggest doing this.

  <li><a href="#top">Back to Top</a></li>

This will create a link that will scroll to the top (useful for mobile devices)

 

  • Upvote 2

VAEfvMI.png

Liked what i posted remember to feed me a cookie ->
Or you can add a cookie to myCookieJar

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...