Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 01-15-2012, 01:53 AM
Jakub03 Jakub03 is offline
 
Join Date: Dec 2011
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Error creating a layout for homepage using CMS.

Hello,

I have an issue while i was creating the home page. I am pretty sure i did the right steps.

1. I created a new grid in the ACP. I title it "full page + 160px right bar" Side Bar = yes, location = right, width = 160px, column = 1 Column (100) > save
2. I create a widget called advertisement > configure > add HTML code
3. I go to layout manager > ad new layout > I title it Home Page > Grid = "full page + 160px right bar" > make the primary content ( colored in red) be displayed in the main block where it spans the whole page > click add advertisement and drag it to the side bar > save
4. Go to home page > edit > select "home page " layout > apply > save

and when i go to home page it shows 2 columns and i have no idea why. Any help?
This is link to home page = http://mypokerhub.com/content.php

Please help me out
Reply With Quote
  #2  
Old 01-15-2012, 02:14 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It shows two columns because you picked to have a Sidebar (that's one column) and then 1 column (total of two columns).
Reply With Quote
  #3  
Old 01-15-2012, 02:34 AM
Jakub03 Jakub03 is offline
 
Join Date: Dec 2011
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea but since its a sidebar 160px should it only take over 160px?

--------------- Added [DATE]1326601786[/DATE] at [TIME]1326601786[/TIME] ---------------

Now i know something is messed up with the CMS, when i choose no sidebar and select 2 colums (75/25)

It shows 3 columns and it flips it and makes it 25/75...
When i choose 1 column 100 no sidebar it still only goes about 70% of the page and has a huge space on the right like if a side bar existed.

--------------- Added [DATE]1326610130[/DATE] at [TIME]1326610130[/TIME] ---------------

any idea on how to fix?
Reply With Quote
  #4  
Old 01-15-2012, 04:29 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think your style is messed up. All the CMS stuff is inside your ad div which should have been closed before the notices div. Try removing the ads perhaps and see if that fixes things. Or try using a totally default style.
Reply With Quote
  #5  
Old 01-15-2012, 06:38 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Definitely an issue with the sidebar code not actually being in the sidebar dom element. It's fixable, just need to figure out where that stray div is or isn't.
Attached Images
File Type: jpg Untitled.jpg (155.0 KB, 0 views)
Reply With Quote
  #6  
Old 01-15-2012, 06:48 PM
Jakub03 Jakub03 is offline
 
Join Date: Dec 2011
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well now i know the problem you guys see totally diffident thing. I guess this is where the confusion came in. I dont see it set up like you go greatestgift. When i go on site it shows this
Reply With Quote
  #7  
Old 01-15-2012, 06:52 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its messed up for me too, i just did a live edit of the source code to make it look 'normal'.
Reply With Quote
  #8  
Old 01-15-2012, 06:52 PM
Jakub03 Jakub03 is offline
 
Join Date: Dec 2011
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I decided I will make the layout that I want which is just a full page and a 160px side bar on the right side. I took a picture of each step.



This is how page looks.


You can go to http://mypokerhub.com/content.php to see this yourself

Why is the 160px side bar show up as half the page????

--------------- Added [DATE]1326682232[/DATE] at [TIME]1326682232[/TIME] ---------------

anybody have any tips on how to fix this?

--------------- Added [DATE]1326682291[/DATE] at [TIME]1326682291[/TIME] ---------------

anybody have any tips on how to fix this?

--------------- Added [DATE]1326736849[/DATE] at [TIME]1326736849[/TIME] ---------------

*bump*
Reply With Quote
  #9  
Old 01-16-2012, 10:02 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are not listening to us. This has nothing to do with the grids or layout in the CMS. It has to do with your style. You have an unclosed <div> because of something around your ad code and that is what is messing everything up.
Reply With Quote
Reply

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


All times are GMT. The time now is 12:52 AM.


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.05142 seconds
  • Memory Usage 2,250KB
  • Queries Executed 12 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete