vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Connect vb to a "site" in a subdirectory (https://vborg.vbsupport.ru/showthread.php?t=273299)

chrayres 11-03-2011 02:56 PM

Connect vb to a "site" in a subdirectory
 
Just want to start out letting you know I'm a VB noob still, so please forgive me if this doesn't make sense or is completely ridiculous :)

I have VB installed on the root (www.giantstridedives.com). I created a catalog of sorts on a subdirectory and manually recreated the theme to match on this catalog (http://www.giantstridedives.com/locations). So far everything is fine because I only needed the general theme and not all of the detailed stuff from VB. Until I decided it'd be easier to port in the navigation from VB so I didn't have to recode all of that to match.

I've already copied the entire #navbar css section into my stylesheet for this catalog. I went to copy the navbar code from the template to place in my catalog when it occurred to me that the code utilizes a lot of {vb:stuff} that probably won't connect from my subdirectory.

My question then is if there is a way to have that code communicate with the VB that's installed on my root so it will place the navigation on this catalog (and the other 3 I plan to make after I get this 1 working.) Does this make sense?

Clarification: Is there a javascript or something that I would add in the header that would allow these pages to understand those {vb:} commands?


All times are GMT. The time now is 04:47 AM.

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.02066 seconds
  • Memory Usage 1,708KB
  • 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
  • (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