Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43333
Total Topics: 7528
Most Online Today: 220
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 2
Guests: 109
Total: 111

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

0 Members and 1 Guest are viewing this topic.

Offline fmofmpls

  • SMF Gallery Pro Customer
  • Member
  • *****
  • Posts: 14
    • 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: 16468
    • 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

  • Member
  • *
  • 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: 16468
    • 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

  • Member
  • *
  • 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
5980 Views
Last post September 08, 2010, 03:01:41 am
by Molly
2 Replies
5574 Views
Last post January 30, 2011, 04:51:14 am
by Seo-luntan
9 Replies
9683 Views
Last post February 21, 2012, 07:52:32 am
by SMFHacks
6 Replies
6263 Views
Last post August 22, 2013, 01:39:57 pm
by inkys
0 Replies
3472 Views
Last post March 31, 2015, 10:33:08 pm
by SethAten

+- Recent Topics

Site upgrade to 2.1 by SMFHacks
July 12, 2024, 07:47:03 am

Issues with Pretty URLs 4.1 by Randem
June 27, 2024, 07:32:22 pm

Failed to open stream: File name too long by Randem
June 26, 2024, 02:13:37 pm

Attachment images Upsidedown or Sideways by SMFHacks
June 18, 2024, 10:53:24 am

JSON decode error: The maximum stack depth has been exceeded by SMFHacks
June 14, 2024, 10:15:16 pm

“Insert from Gallery” by donk
June 10, 2024, 01:26:57 pm

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

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

Powered by EzPortal