Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-08-2011, 07:38 PM
ceho ceho is offline
 
Join Date: Mar 2008
Location: Germany
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default CMS Grid: two horizontal widgets in additional footer?

Hi, I would like to create a grid with one column for the primary content, a sidebar on the right and an additional footer. No problem so far.

However I would like to have two widgets within the additional footer, but they should be placed horizontal and not below each other (example with several horizontal widgets can be found here: http://www.swishzone.de).

I read through various posts here, and found out how to flatten a grid. I also copied and played around with a couple of codes (I found e.g. the one from Lynne where you have two or three horizontal widgets on top of the primary content), but I am perfectly stuck. Could someone please help me finding the right code? I am totally lost with all the YUI orders, and the result I am thinking of is actually looking so simple...

Any help is much appreciated.
Reply With Quote
  #2  
Old 06-25-2011, 01:42 PM
ceho ceho is offline
 
Join Date: Mar 2008
Location: Germany
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No-one able or willing to help me on this?
Reply With Quote
  #3  
Old 06-25-2011, 02:41 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You really haven't given enough information on what you want. Each horizontal widget needs it's own div tag. You have not said how many horizontal widgets you need across the bottom and what dimension. The forum you link to has four widgets of equal dimensions. Is that what you want? And what about the sidebar? What is that width? Nobody can make you a grid at all since you haven't specified any dimensions/sizes/specifics about what you want.
Reply With Quote
  #4  
Old 06-25-2011, 03:06 PM
ceho ceho is offline
 
Join Date: Mar 2008
Location: Germany
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah OK, thanks a lot. You see, I really don't have much of a clue of creating grids, this is why I need help. Otherwise I would have provided more information on the first place.

What I would like to have are three horizontal widgets. The dimensions indeed should be equal, so that would probably be 33% each, right? Does the height need to be defined as well? If so it should be 250px. I will use a sidebar of 240px on the right and one main column for the primary content. If it is possible at all the three aditional widgets at the bottom should be below the sidebar and the primary content.

Thank you very much!
Reply With Quote
  #5  
Old 06-25-2011, 03:39 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just threw this together and it seems to work:
HTML Code:
<div id="doc3" class="yui-tvb-r3">
    <div id="bd">
        <div id="yui-main">
            <div class="yui-b">
                <div class="yui-u yui-panel">
                    <ul class="list_no_decoration widget_list" id="widgetlist_column1">$column[1]</ul>
                </div>
            </div>
        </div>
        <div class="yui-b yui-sidebar">
            <ul class="list_no_decoration widget_list" id="widgetlist_column2">$column[2]</ul>
        </div>
    </div>
    <div id="ft">
        <div class="yui-gb yui-footer">
            <div class="yui-u first"> 
                <ul class="list_no_decoration widget_list" id="widgetlist_column3">$column[3]</ul>
        </div> 
        <div class="yui-u"> 
                <ul class="list_no_decoration widget_list" id="widgetlist_column4">$column[4]</ul>
        </div> 
        <div class="yui-u"> 
                <ul class="list_no_decoration widget_list" id="widgetlist_column5">$column[5]</ul>
        </div> 
        </div>
    </div>
</div>
Reply With Quote
  #6  
Old 06-25-2011, 09:32 PM
ceho ceho is offline
 
Join Date: Mar 2008
Location: Germany
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Lynne, this is exactly what I was thinking of. That is awesome! Yay!

Thank you very much! You really rule! Thanks!!
Reply With Quote
  #7  
Old 07-02-2011, 11:01 PM
reddyink reddyink is offline
 
Join Date: Aug 2007
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Work!
I am trying to accomplish similar format.

Is it possible to export your grid xml and share it here! Thanks

I am trying to get 1 x 3 (widgets - 25-50-25) on the body top and 1 x 2 (widgets 75-25) on the footer.

Getting incorrect layout

<div id="doc3">
<div id="bd">
<div class="yui-g">
<div class="yui-tvb-l25 first yui-panel">
<ul class="list_no_decoration widget_list" id="widgetlist_column1">$column[1]</ul>
</div>

<div class="yui-tvb-l50 first yui-panel">
<ul class="list_no_decoration widget_list" id="widgetlist_column2">$column[2]</ul>
</div>

<div class="yui-tvb-l25 first yui-panel">
<ul class="list_no_decoration widget_list" id="widgetlist_column3">$column[3]</ul>
</div>
</div>
</div>
<div id="ft">

<div class="yui-gb yui-footer">
<div class="yui-tvb-l75 first yui-panel">
<ul class="list_no_decoration widget_list" id="widgetlist_column4">$column[4]</ul>
</div>

<div class="yui-tvb-l25 first yui-panel">
<ul class="list_no_decoration widget_list" id="widgetlist_column5">$column[5]</ul>
</div>

</div>
</div>
</div>
Reply With Quote
  #8  
Old 07-03-2011, 07:01 PM
ceho ceho is offline
 
Join Date: Mar 2008
Location: Germany
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure, no problem, here it is .

To get the grid to work I just did what you have to do: I created a new grid, than flattened it and copied the code Lynne provided in both "Layout Manager UI HTML" and "Default Template HTML". That was it, it is working.

Pls. let me know if the xml file is not working correctly. Best success.
Attached Files
File Type: xml ccc test.xml (1.2 KB, 16 views)
Reply With Quote
  #9  
Old 07-03-2011, 07:25 PM
reddyink reddyink is offline
 
Join Date: Aug 2007
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for sharing. I am trying to get Grid in as attached using header/body/footer.

Any suggestions? Thank you for your time.

here is the code:
Code:
<div id="doc3">
<div id="bd">
<div class="yui-g">
<div class="yui-tvb-l25 first yui-panel">
<ul class="list_no_decoration widget_list" id="widgetlist_column1">$column[1]</ul>
</div>

<div class="yui-tvb-l50 first yui-panel">
<ul class="list_no_decoration widget_list" id="widgetlist_column2">$column[2]</ul>
</div>

<div class="yui-tvb-l25 first yui-panel">
<ul class="list_no_decoration widget_list" id="widgetlist_column3">$column[3]</ul>
</div>
</div>
</div>
<div id="ft">

<div class="yui-gb yui-footer">
<div class="yui-tvb-l75 first yui-panel">
<ul class="list_no_decoration widget_list" id="widgetlist_column4">$column[4]</ul>
</div>

<div class="yui-tvb-l25 first yui-panel">
<ul class="list_no_decoration widget_list" id="widgetlist_column5">$column[5]</ul>
</div>

</div>
</div>
</div>
Attached Images
File Type: jpg grid.jpg (31.6 KB, 0 views)
Reply With Quote
  #10  
Old 07-03-2011, 10:39 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And you have pasted the code you posted into *both* of the fields after flattening the grid? And what is the exact error you are getting?
Reply With Quote
Reply


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


All times are GMT. The time now is 11:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04805 seconds
  • Memory Usage 2,289KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete