vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBadvanced CMPS (https://vborg.vbsupport.ru/forumdisplay.php?f=101)
-   -   Left Column on the forums (https://vborg.vbsupport.ru/showthread.php?t=123849)

sunilvarma 08-13-2006 12:58 PM

Left Column on the forums
 
hi, i have a problem. the cmps index page has a few modules on the left side. i want to include them in the forum pages also.

i placed the below code at the end of my navbar template so that the forums show a table on the left:

Code:

<if condition="THIS_SCRIPT!='adv_index'">
<!-- Left Column Code  -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="160" valign="top" align="center">$home[leftblocks]</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->
</if>

i suppose that the $home[leftblocks] variable will show the block on the page. so i added it. but nothing shows up. just a white space (created by the table) shows up.

so, someone please let me kmow if i am doing correctly or correct me. please, i need it done urgently.

Thanks

Frapegliko 08-13-2006 01:56 PM

Look that

http://www.vbadvanced.com/membersare...tid=4&pageid=6

sunilvarma 08-13-2006 02:34 PM

thanks for the link. but is there a simpler way in which i can edit the templates so i can have the column display all over the forum?

Thanks

Frapegliko 08-16-2006 10:41 AM

create template adv_portal_global
go to vba menu > default settings > add adv_portal_global in global variables > go to header template and add $adv_portal_global after $navbar

sunilvarma 08-16-2006 11:23 AM

thanks for that reply. but i tried the first link and succesfully acheived this. anyways i will try the template thing too.

UncoderMom 08-16-2006 02:31 PM

Quote:

Originally Posted by Frapegliko
create template adv_portal_global
go to vba menu > default settings > add adv_portal_global in global variables > go to header template and add $adv_portal_global after $navbar

I dont see $navbar in my header........?

Frapegliko 08-16-2006 04:15 PM

Quote:

Originally Posted by UncoderMom
I dont see $navbar in my header........?

sorry Forumhome

GruntHalo 12-28-2006 12:42 AM

lol good job guys :) this helped me alot on my own site :) click the signature button :D


All times are GMT. The time now is 02: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.02038 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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