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

Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2006, 01:17 PM
kidc kidc is offline
Junior Member
 
Join Date: Apr 2006
Posts: 18
Talking flexable on portal page but fixed on forums?

I'm trying to get vBa CMPS to have the tables be flexable(WS) width so it would be wider but I want the forums to have fixed width, how do I go about to do that?

Last edited by kidc; 04-19-2006 at 04:57 PM.
Reply With Quote
  #2  
Old 04-19-2006, 09:00 PM
kidc kidc is offline
Junior Member
 
Join Date: Apr 2006
Posts: 18
Default Re: flexable on portal page but fixed on forums?

I know this can be done just not by me
Reply With Quote
  #3  
Old 04-19-2006, 09:25 PM
Tom M Tom M is offline
Senior Member
 
Join Date: Jan 2004
Posts: 1,867
Default Re: flexable on portal page but fixed on forums?

Quote:
Originally Posted by kidc
I know this can be done just not by me
I would guess that you will need to edit the header template and add a conditional that checks to see if it's a vBa page or not and use the correct width instead of the default vb width.
__________________
Tom Morris
Porsche Boxster discussion forum.
Today's Conservative discussion forum.
Reply With Quote
  #4  
Old 04-19-2006, 10:17 PM
kidc kidc is offline
Junior Member
 
Join Date: Apr 2006
Posts: 18
Default Re: flexable on portal page but fixed on forums?

can you direct me on how to go about that tom?

thanks
Reply With Quote
  #5  
Old 04-19-2006, 11:16 PM
Tom M Tom M is offline
Senior Member
 
Join Date: Jan 2004
Posts: 1,867
Default Re: flexable on portal page but fixed on forums?

Quote:
Originally Posted by kidc
can you direct me on how to go about that tom?

thanks
You might try this and see if it works for you. That is, change your header template from
Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
	<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
	<td align="$stylevar[right]">
		&nbsp;
	</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
to this
Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="<if condition="THIS_SCRIPT=='adv_index'">100%<else />$stylevar[outertablewidth]</if>" cellpadding="0" cellspacing="0" align="center">
<tr>
	<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
	<td align="$stylevar[right]">
		&nbsp;
	</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
Change the '100%' bit to whatever value you want.
__________________
Tom Morris
Porsche Boxster discussion forum.
Today's Conservative discussion forum.
Reply With Quote
  #6  
Old 04-23-2006, 01:15 AM
kidc kidc is offline
Junior Member
 
Join Date: Apr 2006
Posts: 18
Default Re: flexable on portal page but fixed on forums?

thank you tom ....worked great


www.towman.org if you want to see
Reply With Quote
  #7  
Old 08-25-2006, 01:22 AM
Kseki Kseki is offline
Member
 
Join Date: Jul 2005
Posts: 70
Default Re: flexable on portal page but fixed on forums?

woot!! thanks!!
Reply With Quote
  #8  
Old 06-09-2012, 10:48 PM
kidc kidc is offline
Junior Member
 
Join Date: Apr 2006
Posts: 18
Default

tom could you provide a fix for this on 4.2?


thanks...
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
Custom Page - Fixed StyleID gbrain "How Do I..." Questions 3 01-19-2006 09:10 AM
display forums on portal page jimmyboy Feedback & Suggestions 0 11-12-2005 01:01 AM


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