Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 186
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 195
Total: 195

Author Topic: Ad Location Help - top of page.  (Read 4387 times)

0 Members and 1 Guest are viewing this topic.

Offline ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
Ad Location Help - top of page.
« 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,

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Ad Location Help - top of page.
« 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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
Re: Ad Location Help - top of page.
« 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,

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Ad Location Help - top of page.
« 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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
Re: Ad Location Help - top of page.
« 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!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Ad Location Help - top of page.
« Reply #5 on: April 29, 2012, 10:40:34 pm »
Glad to help.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
Re: Ad Location Help - top of page.
« Reply #6 on: April 29, 2012, 10:53:31 pm »
Got it moved on my live site now. :)

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!

 

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
5005 Views
Last post June 18, 2010, 08:50:58 am
by jos
7 Replies
6980 Views
Last post October 20, 2010, 12:13:37 am
by SMFHacks
2 Replies
3423 Views
Last post September 02, 2011, 08:38:35 am
by SMFHacks
3 Replies
3766 Views
Last post September 25, 2011, 10:48:05 am
by SMFHacks
15 Replies
7596 Views
Last post April 30, 2012, 10:35:20 pm
by dougvarrieur

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal