vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 05-14-2012, 12:20 AM
Fiber Fiber is offline
Senior Member
 
Join Date: Jul 2004
Posts: 132
Question adding colums?

I went into Main Options > Location List and added:

Varname = leftcenter
Title = LeftCenter Column

Then went to adv_portal template and made these modifications.

Nothing showing up What did I miss?

Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]" xmlns="http://www.w3.org/1999/xhtml">
<head>
<if condition="$pages['name'] == 'home'">
	<meta http-equiv="Cache-Control" content="no-cache" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="0" />
</if>

<title>$vboptions[hometitle] <if condition="$pagetitle">- $pagetitle</if></title>

$headinclude

</head>
<body>

$header

$navbar

<if condition="$show['customizepagelink']">
	<div align="$stylevar[right]" style="padding-top: $stylevar[cellpadding]px; padding-bottom: $stylevar[cellpadding]px">
		<if condition="$show['customizepage']">
			[<a href="javascript: reset_cmps_layout($pages[pageid])">$vbphrase[reset_layout]</a>] 
			[<a href="$show[customizepagelink]">$vbphrase[exit_customization_mode]</a>]
		<else />
			[<a href="$show[customizepagelink]">$vbphrase[customize_this_page]</a>]
		</if>
	</div>
</if>

<table align="center" class="page" cellspacing="0" cellpadding="0" width="100%">
	<tr valign="top">
		<if condition="$show['left_column']">
			<td width="$vba_style[portal_leftcolwidth]"<if condition="$show['LeftCenter_column'] OR $show['center_column'] OR $show['right_column']"> style="padding-$stylevar[right]: $vba_style[portal_colspacing]px"</if>>
				$home[leftblocks]
			</td>
		</if>
                <if condition="$show['LeftCenter_column']">
			<td valign="top">
				$home[leftcenterblocks]
			</td>
		</if>
		<if condition="$show['center_column']">
			<td valign="top">
				$home[centerblocks]
			</td>
		</if>
		<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>
	</tr>
</table>

$footer

</body>
</html>
Reply With Quote
  #2  
Old 05-15-2012, 01:07 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Your variable $show['LeftCenter_column'] needs to be all lowercase ($show['leftcenter_column'])
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
latest thread on 2 colums bartek24m "How Do I..." Questions 1 10-27-2009 06:59 AM
Resizing Colums Tilly "How Do I..." Questions 1 08-29-2008 09:46 PM
Possible to show vbadvanced colums in forum? Hendricius Module & Modification Discussion & Requests 2 06-23-2008 11:37 AM
shoutbox in the colums Justine Perrino Module & Modification Discussion & Requests 2 11-03-2005 10:40 AM
having only two colums.. width problems cyr0n_k0r Troubleshooting / "How do I..." Questions 1 07-12-2004 07:05 PM


All times are GMT -4. The time now is 09:00 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.