PDA

View Full Version : New Module Locations


microbob
08-02-2011, 12:08 AM
Question regarding additional locations for display modules. I'm currently utilizing only the left, center, and right setting locations. I went into my vBAdvanced CMPS Options>SETTINGS>OPTIONS and added the following VARNAMES to the location list:

NEWBLOCKNAME=
1) top
2) topright
3) bottomright
4) centerleft
5) centerright
6) bottom

I gave each of them a TITLE designation, then saved the changes. I then went to the ADV_PORTAL template to update it.

THIS IS WHERE I NEED ASSISTANCE, as I'm confused :confused: as to where to edit or place new code to reflect the changes. I have consulted both online and in the vBAdvanced Manual and found nothing to help me.

The instructions say to "edit the 'ADV_PORTAL' template to ADD THE VARIABLE '$home[Varnameblocks]' within the code WHERE YOU WOULD LIKE THAT LOCATION TO BE DISPLAYED." Here is the code:

<if condition="$show['left_column']">
<td width="$vba_style[portal_leftcolwidth]"<if condition="$show['center_column'] OR $show['right_column']"> style="padding-$stylevar[right]: $vba_style[portal_colspacing]px"</if>>
$home[leftblocks]
</td>
</if>

<---------------------------------------------------------ADD HERE???

<if condition="$show['center_column']">
<td valign="top">
$home[centerblocks]
</td>
</if>

<------------------------------------------------------ OR ADD HERE???

<if condition="$show['right_column']">
<td valign="top" width="$vba_style[portal_rightcolwidth]"<if condition="$show['center_column'] OR $show['left_column']"> style="padding-$stylevar[left]: $vba_style[portal_colspacing]px"</if>>
$home[rightblocks]
</td>
</if>

Below is the code that I am going to add. Please save me {ahead of time} from screwing this up. Is this correct? What position does it get added? Am I adding (6) sets of code?


<if condition="$show['center_column']">
<td valign="top">
$home[NEWBLOCKNAMEblocks]
</td>
</if>

Please help, as this is the last major change which I have wanted to put into place before finalizing my banner ad locations.

Thanks.
Bob