vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   CMS Fixed Left and Right Columns GRID (https://vborg.vbsupport.ru/showthread.php?t=248667)

midnz 09-21-2010 08:20 PM

Quote:

Originally Posted by ravencr (Post 2101591)
I've discovered it's all in the vbcms.css file

Yeah, that's where I'm looking too.

ravencr 09-21-2010 08:31 PM

I fixed it by just changing the css. I was able to add one for 15%, but for whatever reason when I tried to add one for 20% to make a 15%, 65%, 20% it wouldn't work unless I used the existing one they had in there. Very confusing...

midnz 09-21-2010 08:43 PM

Quote:

Originally Posted by ravencr (Post 2101606)
I fixed it by just changing the css. I was able to add one for 15%, but for whatever reason when I tried to add one for 20% to make a 15%, 65%, 20% it wouldn't work unless I used the existing one they had in there. Very confusing...

Excellent. I'm glad you've solved it :). Now I can stop battling with vb.org and vb.com needing multiple page refreshes just to navigate anywhere. I'll have to look further in to that some day.

ravencr 09-28-2010 04:35 PM

k, so I've decided to go to a fixed, fluid, fixed combo for the grid, but I can't figure it out...imagine that. Can anyone on here tell me how to do a 200px, 100%, 200px and a 240px, 100%, 240px grid xml? Thanks for the help,

Chris

midnz 09-28-2010 06:37 PM

Try these. No guarantee that they'll work though. I've removed my CMS in favour of using Logician's Webtemplates and so I can't test on my board. If they don't work then those widths probably aren't defined in the .css

PHP Code:

<?xml version="1.0" encoding="UTF-8"?>
<grids>
    <grid name="Sidebar + Column + Sidebar (200px, 100%, 200px)" auxheader="0" auxfooter="0" addcolumn="1" addcolumnsnap="1" addcolumnsize="3" columns="0"><![CDATA[<div id="doc3" class="yui-tvb-r3">
    <div id="bd">
        <div id="yui-main">
            <div class="yui-b">
                <div class="yui-gf">
                    <div class="yui-u first yui-sidebar">
                        <ul class="list_no_decoration widget_list" id="widgetlist_column1">$column[1]</ul>
                    </div>
                    <div class="yui-u yui-panel">
                        <ul class="list_no_decoration widget_list" id="widgetlist_column2">$column[2]</ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="yui-b yui-sidebar">
            <ul class="list_no_decoration widget_list" id="widgetlist_column3">$column[3]</ul>
        </div>
    </div>
</div>
]]></grid>
</grids>

PHP Code:

<?xml version="1.0" encoding="UTF-8"?>
<grids>
    <grid name="Sidebar + Column + Sidebar (240px, 100%, 240px)" auxheader="0" auxfooter="0" addcolumn="1" addcolumnsnap="1" addcolumnsize="3" columns="0"><![CDATA[<div id="doc3" class="yui-tvb-r3">
    <div id="bd">
        <div id="yui-main">
            <div class="yui-b">
                <div class="yui-gf">
                    <div class="yui-u first yui-sidebar">
                        <ul class="list_no_decoration widget_list" id="widgetlist_column1">$column[1]</ul>
                    </div>
                    <div class="yui-u yui-panel">
                        <ul class="list_no_decoration widget_list" id="widgetlist_column2">$column[2]</ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="yui-b yui-sidebar">
            <ul class="list_no_decoration widget_list" id="widgetlist_column3">$column[3]</ul>
        </div>
    </div>
</div>
]]></grid>
</grids>


ravencr 09-28-2010 06:41 PM

I appreciate it...I ended up hiring a guy to knock it out...sick of messing with it, honestly.

Chris


All times are GMT. The time now is 08:20 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01987 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete