PDA

View Full Version : Left Column on the forums


sunilvarma
13 Aug 2006, 15:58
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:

<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
13 Aug 2006, 16:56
Look that

http://www.vbadvanced.com/membersarea.php?do=viewusermanual&productid=4&pageid=6

sunilvarma
13 Aug 2006, 17:34
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
16 Aug 2006, 13:41
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
16 Aug 2006, 14:23
thanks for that reply. but i tried the first link and succesfully acheived this. anyways i will try the template thing too.

UncoderMom
16 Aug 2006, 17:31
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
16 Aug 2006, 19:15
I dont see $navbar in my header........?
sorry Forumhome

GruntHalo
28 Dec 2006, 02:42
lol good job guys :) this helped me alot on my own site :) click the signature button :D