vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   problems with my inserted header navigation (https://vborg.vbsupport.ru/showthread.php?t=103851)

marglar 12-27-2005 07:32 PM

problems with my inserted header navigation
 
I've included a navigation header in my forum, so that I have consistant navigation and appearance throughout my site.

Here is the plug-in I used:
Code:

ob_start();
include('../navigation.html');
$navbar = ob_get_contents();
ob_end_clean();

The problem is that inserting this header (navigation.html) into my forum breaks all of the links/buttons/js when it is displayed in the forum. I keep the navigation header in my root directory but when it gets inserted into my forum, it behaves as if it is in my forum directory.

Is there an easy way to fix this so that the header knows it is running from the root directory?

In an attempt to fix this myself I have made all of my buttons/links/images absolute paths. My buttons show up when I first load the forum, but if I mouse over them I see the mouse over image but then lose the original button image. These same buttons work great on the rest of my site. What could be going on?

You can see it here (under construction):
http://www.truepersonalgrowth.com/forum

I'd really appreciate any help I can get!


All times are GMT. The time now is 03:23 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.00931 seconds
  • Memory Usage 1,709KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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