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 12-31-2009, 01:28 AM
concepts concepts is offline
Senior Member
 
Join Date: Sep 2005
Posts: 156
Default How Do I : Specific Module placement.

badcompany2.com
I am trying to create a module that has a placement just like the "headlines" slideshow on this site.. I do not know where to paste my module code however..


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
<if condition="$pages[name]=='home'">

<script type="text/javascript" src="$vboptions[bburl]/vbcover/vbslideshow/vbslideshow.js"></script>
</if>
</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="$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['top_column']">
			<td valign="top">
				$home[topblocks]
			</td>
		</if>
	</tr>
</table>

<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['center_column'] OR $show['right_column']"> style="padding-$stylevar[right]: $vba_style[portal_colspacing]px"</if>>
				$home[leftblocks]
			</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>
where would I place it so it resembles the same style?
__________________
RUOFFICIAL? www.RUOFFICIAL.com
COAST 2 COAST ENTERTAINMENT!

Reply With Quote
  #2  
Old 12-31-2009, 04:17 AM
Xiepoo Xiepoo is offline
styles ahoy!
 
Join Date: Jan 2009
Posts: 92
Default

First add the locations in vbadvanced after that add the following code after $navbar and before the if condition. I hardcoded my random image box into the second column, you can simply put another conditional in there though. Also the conditional is around the entire table as I want the entire table to vanish the I don't show the block. Also the width is hardcoded, obviously you can change this to %'s

Code:
<if condition="$show['topleft_column']"><table align="center" class="page" border="0" cellspacing="0" cellpadding="0" width="950px">
	<tr valign="top">
                 <td width="750">
			<div class="topleftblock">
				$home[topleftblocks]
			</div>
		</td>
<td width="387"></td>
	</tr>
</table></if>
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
Question about module placement... pcoskat Pre-Installation Questions 1 06-04-2008 11:15 AM
Allow Specific Usergroup To Add Categories & Links To Specific Category Only VTWeb "How Do I..." Questions 3 03-24-2008 10:43 AM
Help with banner placement. chkdg8 "How Do I..." Questions 3 08-17-2006 06:19 AM
Php module messing up module placement. DonLKSAB "How Do I..." Questions 2 06-27-2006 10:50 AM
Change Module Placement on differ pages allhandl Troubleshooting / "How do I..." Questions 1 05-25-2004 01:47 PM


All times are GMT -4. The time now is 10:19 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.