Quick Login   
 
Register AdminFusion Tutorials
 
Featured Sponsors


One.com Domain and Hosting


Register
Forum of the Month
Australian Webmaster
fotm

A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.

Tag Cloud
Latest Threads
Forum Stats
7,897 Members
165,077 Posts
46 Users Online

Please welcome our newest member, goodfriend4!

Affiliates
Go Back AdminFusion » Front Desk » Admin Resources » Tutorials » Using Custom Module Positions with vBAdvanced
Welcome to the AdminFusion. AdminFusion is the ultimate resource for forum administrators and moderators. With exclusive articles, interviews with the experts, free downloadable skins, and the revolutionary post exchange system - PostFusion, AdminFusion is the place to go for all of your forum needs.  By joining AdminFusion, you will become part of a thriving admin community and immediately gain access to all of these resources. Registration is fast, simple and absolutely free so please join us today!
Want more than our forums? Try these: Post Fusion Forum Matrix
<!-- google_ad_section_start -->Using Custom Module Positions with vBAdvanced<!-- google_ad_section_end -->
Using Custom Module Positions with vBAdvanced
For a more creative portal page
Published by bdude
09-11-2007
Using Custom Module Positions with vBAdvanced

Everyone's seen it before, the default layout for vBA - two sidebars and a middle column.

To be different you need to break out and do something different, like on the homepage of my site The Blogging Café using custom module positions.

First off, you need to decide the layout you want, and give each spot a name, like so:



Now you need to go into your admin CP > vBa CMPS > Default Settings> Main Options and add in your custom module positions, remember the varnames!


The next step, is to edit your adv_portal template to include these modules. The standard code for the modules is is $home[varnameblocks],remember to look at the rest of the template for guidance to add the appropriate column padding. Really, you should only need to edit in between $navbar and $footer. Here's what mine looks like:
HTML Code:
 <table align="center" cellspacing="0" cellpadding="0" width="100%"> <tr valign="top"> <td colspan="2" style="padding-right: $vba_style[portal_colspacing]px" width="70%" height="100%">
      $home[topblocks]
   </td> <td rowspan="2" width="">
    $home[rightblocks]
  </td> </tr> <tr valign="top"> <td style="padding-right: $vba_style[portal_colspacing]px" >
   $home[mainleftblocks]
 </td> <td style="padding-right: $vba_style[portal_colspacing]px" >
   $home[mainrightblocks]
</tr> </table>
So, I hope this helps you on the way to a more creative vBAdvanced Page!
Tutorial Tools

 
By MissMoke on 09-11-2007, 02:38 PM
This is great! I need to play with mine but I am scurred of code.

Where might one find this adv_portal template?
Reply With Quote
  #1  
By Caddyman on 09-11-2007, 02:49 PM
First one under "vbadvanced CMPS templates"
Reply With Quote
  #2  
By Taragon on 09-29-2008, 03:23 AM
I could be wrong here, but isn't this example missing a closing td tag?
Code:
<table align="center" cellspacing="0" cellpadding="0" width="100%">
	<tr valign="top">
		<td colspan="2" style="padding-right: $vba_style[portal_colspacing]px" width="70%" height="100%">
			$home[topblocks]
		</td>
		<td rowspan="2" width="">
			$home[rightblocks]
		</td>
	</tr>
	<tr valign="top">
		<td style="padding-right: $vba_style[portal_colspacing]px" >
			$home[mainleftblocks]
		</td>
		<td style="padding-right: $vba_style[portal_colspacing]px" >
			$home[mainrightblocks]
		</td>
	</tr>
</table>
Great article btw.!
Reply With Quote
  #3  
By MrKielington on 09-29-2008, 05:37 PM
Awesome article! Very informative thank you so much!
Reply With Quote
Comment



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

 
Posting Rules

Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
Custom Coded Social Networking Site & Custom Coded Avatar Website (Unique Concept) kinkarso Buy and Sell 0 04-16-2007 03:29 AM
Custom Homepage for a Forum? transburgh Planning and Brainstorming 2 01-03-2007 01:43 AM
Poker rakeback directory for sale-Very little work - $900+/mo - Fully custom CMS John D Buy and Sell 7 11-29-2006 12:36 PM
Thinking of getting a custom forum template.. BellaNightshade Buy and Sell 0 04-01-2006 09:23 AM
Custom vB designing and coding service miner Buy and Sell 8 12-30-2005 04:51 PM

AdminFusion

All times are GMT +1. The time now is 04:57 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0 © 2005-2008 AdminFusion - All Rights Reserved
Tutorial powered by GARS 2.1.9 ©2005-2006



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72