vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Error creating a layout for homepage using CMS. (https://vborg.vbsupport.ru/showthread.php?t=277002)

Jakub03 01-15-2012 12:53 AM

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 ;)

Lynne 01-15-2012 01:14 AM

It shows two columns because you picked to have a Sidebar (that's one column) and then 1 column (total of two columns).

Jakub03 01-15-2012 01:34 AM

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?

Lynne 01-15-2012 03:29 PM

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.

LifesGreatestGift 01-15-2012 05:38 PM

1 Attachment(s)
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.

Jakub03 01-15-2012 05:48 PM

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
https://vborg.vbsupport.ru/external/2012/01/52.png

LifesGreatestGift 01-15-2012 05:52 PM

Its messed up for me too, i just did a live edit of the source code to make it look 'normal'.

Jakub03 01-15-2012 05:52 PM

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.

https://vborg.vbsupport.ru/external/2012/01/50.png

This is how page looks.
https://vborg.vbsupport.ru/external/2012/01/51.png

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* :)

Lynne 01-16-2012 09:02 PM

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.


All times are GMT. The time now is 05:52 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.01613 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete