Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12389
Latest: GhostHunting
New This Month: 6
New This Week: 1
New Today: 1
Stats
Total Posts: 40323
Total Topics: 7100
Most Online Today: 83
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 55
Total: 56

Author Topic: Global Headers and Footers  (Read 5603 times)

0 Members and 1 Guest are viewing this topic.

Offline fmofmpls

  • Newbie
  • *
  • Posts: 13
    • View Profile
Global Headers and Footers
« on: November 06, 2007, 10:33:25 am »
Hello. Is there any way to have different headers and footers for each board as opposed to being stuck with the same for all pages? I know the mod itself doesn't allow for separate headers and footers, but can this be bypassed by a manual template modification or even some HTML code?

Thanks for the help!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15155
    • View Profile
Re: Global Headers and Footers
« Reply #1 on: November 06, 2007, 08:26:02 pm »
It would require some php code depending on how you want it work either store each board header and footer in a textfile or database
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 kota069

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Global Headers and Footers
« Reply #2 on: February 24, 2008, 07:53:54 pm »
(Should this be a new thread somewhere?  - I don't know)

Would there be a (relatively simple) way to keep the header/footer from showing on the Login page?

i.e., NOT show on the Login page.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15155
    • View Profile
Re: Global Headers and Footers
« Reply #3 on: February 24, 2008, 07:55:54 pm »
You would need to modify part of the code and add another check if action = login I already have done this for the xml action and would be easy to add.
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 kota069

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Global Headers and Footers
« Reply #4 on: February 24, 2008, 08:06:57 pm »
You would need to modify part of the code and add another check if action = login I already have done this for the xml action and would be easy to add.
I can do the edits if you'd be willing to post the code and it's respective file(s) and 
 location(s) within the files.

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
3774 Views
Last post September 08, 2010, 03:01:41 am
by Molly
2 Replies
3535 Views
Last post January 30, 2011, 04:51:14 am
by Seo-luntan
9 Replies
6501 Views
Last post February 21, 2012, 07:52:32 am
by SMFHacks
6 Replies
3170 Views
Last post August 22, 2013, 01:39:57 pm
by inkys
0 Replies
2013 Views
Last post March 31, 2015, 10:33:08 pm
by SethAten

+- Recent Topics

prettyurls - TroubleShooting.wiki by GhostHunting
Today at 03:17:23 pm

Quality of images after import by SMFHacks
September 05, 2020, 10:21:44 am

How do I download gallery images? by CWVRV
August 30, 2020, 11:50:07 pm

Deleting Empty Galleries by SMFHacks
August 30, 2020, 11:43:32 am

PHP error by davejo
August 25, 2020, 07:35:13 am

Permissions to list ads and buy items by CWVRV
August 21, 2020, 05:19:45 pm

Doubt with download permissions. by Rock Lee
August 20, 2020, 08:23:24 pm

Attachment images Upsidedown or Sideways by SMFHacks
August 18, 2020, 05:41:07 pm

[Mod]Avatars Display Integration by Hatshepsut
August 17, 2020, 11:39:54 pm

Simple Portal Block - Classifieds by SMFHacks
August 16, 2020, 09:56:48 am

Powered by EzPortal