Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 20, 2013, 04:05:29 am

Login with username, password and session length
Members
Total Members: 10760
Latest: gibranabahel
Stats
Total Posts: 32357
Total Topics: 5476
Online Today: 54
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 47
Total: 48
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Ad Location Help - top of page.  (Read 788 times)
ApplianceJunk
Sr. Member
****
Offline Offline

Posts: 410



View Profile WWW
« on: April 29, 2012, 10:04:59 pm »

In the image I attached I have a appliance parts search box that i would like to display at the very top of our site as I pointed out with the red arrow.

Could you tell me were to place the code?

Thanks,
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10989


View Profile
« Reply #1 on: April 29, 2012, 10:11:43 pm »

Is that any different then the overall header ad location?

In both cases it would be in the index.template.php file.
Logged
ApplianceJunk
Sr. Member
****
Offline Offline

Posts: 410



View Profile WWW
« Reply #2 on: April 29, 2012, 10:22:09 pm »

I seem to have it in overall header now in the attached photo. If you look closely at the attachment I have another red arrow at the very top of the attachment, that is were I would like to place it.

thanks,
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10989


View Profile
« Reply #3 on: April 29, 2012, 10:26:54 pm »

Ok all the way at the top.
Hmm you would need to create a custom ad location and modify the index.template.php and add it right after the <body> call in the index.template.php file.
Logged
ApplianceJunk
Sr. Member
****
Offline Offline

Posts: 410



View Profile WWW
« Reply #4 on: April 29, 2012, 10:30:31 pm »

Just tried that on my local test site and it worked great, thanks!

I was not sure if it would auto create the room I needed at the top for it or what, but it did make room for it.

Thanks again!
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10989


View Profile
« Reply #5 on: April 29, 2012, 10:40:34 pm »

Glad to help.
Logged
ApplianceJunk
Sr. Member
****
Offline Offline

Posts: 410



View Profile WWW
« Reply #6 on: April 29, 2012, 10:53:31 pm »

Got it moved on my live site now. Smiley

Love this mod, even though I could just place the code for the ad directly into index.template.php it's nice to be able to create a location and then just uncheck or check the box when I change my mind again, lol...

Thanks!

 
Logged

Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 19, 2013, 11:13:02 pm]

[May 19, 2013, 10:01:19 pm]

[May 19, 2013, 08:18:27 pm]

[May 19, 2013, 07:03:27 am]

[May 16, 2013, 10:13:46 pm]

[May 15, 2013, 11:32:14 pm]

[May 15, 2013, 11:31:24 pm]

[May 12, 2013, 09:10:43 am]

[May 10, 2013, 03:49:55 am]

[May 07, 2013, 07:12:40 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.175 seconds with 20 queries.