vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Use vb4 header and footer on non-vb pages? (https://vborg.vbsupport.ru/showthread.php?t=231428)

tonmo 12-28-2009 11:06 AM

Use vb4 header and footer on non-vb pages?
 
I checked out the article how-to's, but the ones I saw didn't meet my needs... I have several dozen content pages that I want to have the same look and feel as the rest of the site -- but I don't want to use the template system. All of my pages currently leverage server-side includes to render the header and footer, pretty much using standard HTML. I'd like to update these include files and replace the code with whatever would be needed to render the vb header, navbar and footer for my site... Again, I'd rather not do this by copying/pasting my content into templates.

Is there a way to do this / any ideas?

Lynne 12-28-2009 01:59 PM

If you don't want to use the template system, then you will have to just copy the source code for the header and footer and put it into your php page. That means everytime you change something in the header/footer, you will have to go in and manually change it in your pages.


All times are GMT. The time now is 08:24 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00897 seconds
  • Memory Usage 1,700KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete