SimplePortal

Customization => Custom Coding => Topic started by: Spasmod on August 12, 2013, 05:47:43 PM

Title: Simple Ads question
Post by: Spasmod on August 12, 2013, 05:47:43 PM
Hey guys I'm pretty new to SMF and was wondereing if anyone can help me create a new position in Simple Ads to show a Contact Us button (in the footer) rather than above or below the footer.

Here is an image depicting where I would like the button displayed. I've already made the code for the button with the linking URL using html

(http://theflashlightforum.com/gallery/1_12_08_13_10_43_56.png)


Thanks guys, any help would be greatly appreciated

Spas
Title: Re: Simple Ads question
Post by: Burke Knight on August 12, 2013, 07:02:33 PM
This is Simple Portal's site, not Simple Ads.
Title: Re: Simple Ads question
Post by: [SiNaN] on August 14, 2013, 01:47:07 PM
Welcome! Since both of the mods has the "Simple" prefix and coded by me, I guess I can understand why you might have ended up here.

As for your questions, it would be a lot easier and sensible to add your HTML code for the button into the template_body_below() function in index.template.php file of your theme.

For further support on your questions not related to SimplePortal, I would suggest seeking help at simplemachines.org support forums.
Title: Re: Simple Ads question
Post by: Burke Knight on August 14, 2013, 03:49:23 PM
Sorry old friend.
Did not realize that Simple Ads was also yours. :)

Never even saw it, so now I'm off to go look at it. :)

Spas, there are mods at the SMF mod site that does footer links.
That may be more what you are looking for. Also, a custom copyright mod may work, as it will put it right in the footer, and can also have your copyright with it:
Copyright 2013 Your Site | Contact Us

Something like that, since can use HTML in the custom copyright mods. ;)
SimplePortal 2.3.8 © 2008-2024, SimplePortal