Results 1 to 8 of 8

Thread: flexable on portal page but fixed on forums?

  1. #1
    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 05:57 PM.

  2. #2
    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

  3. #3

    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.

  4. #4
    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

  5. #5

    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.

  6. #6
    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

  7. #7

    Default Re: flexable on portal page but fixed on forums?

    woot!! thanks!!

  8. #8
    Join Date
    Apr 2006
    Posts
    18

    Default

    tom could you provide a fix for this on 4.2?


    thanks...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Custom Page - Fixed StyleID
    By gbrain in forum "How Do I..." Questions
    Replies: 3
    Last Post: 01-19-2006, 10:10 AM
  2. display forums on portal page
    By jimmyboy in forum Feedback & Suggestions
    Replies: 0
    Last Post: 11-12-2005, 02:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •