Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Header and Footer code stored as variable in DB?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Header and Footer code stored as variable in DB?

 Post Reply Post Reply
Author
markomeara View Drop Down
Groupie
Groupie


Joined: 22 September 2004
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote markomeara Quote  Post ReplyReply Direct Link To This Post Topic: Header and Footer code stored as variable in DB?
    Posted: 25 March 2011 at 2:22am
Great forum software, very happy with it.... Here's a suggestion or two, fairly easy to implement for the next version....

I have a custom header.asp file and footer.asp file that contains my site header - menu and some code for a newsletter and some advertising... but each time I upgrade I have to redo these files.

So:
Could you create a database table entry that would store the header code, and another database field storing the footer code, and create a field on the admin side to enter the header code etc. and then modify header.asp to pull info from the database field if present.

I'm also  have a customized registration rules file so doing it for that would be a good idea as well. 

Also, could you create a variable for metatag keywords and description that would be inserted in the top of each page?

Thanks
Mark
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 25 March 2011 at 9:16am
Some of your suggestions have already been developed for version 10 due to the changes required for the database.

Version 10 will allow the setting of the forum home meta tags, other meta tags are already set dynamically within each page using the contents for the page for descriptions and keywords.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 25 March 2011 at 9:17am
By the way create a backup of your header and footer files then each time you upgrade you do not need to redo these files as you just copy across the back of your custom header and footer files.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.