vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   CMS home page Viewing problem (https://vborg.vbsupport.ru/showthread.php?t=242224)

Xencored 05-10-2010 06:14 PM

CMS home page Viewing problem
 
Hello

Right now, when viewing the Section, my articles appear like this

http://www.myanimeisland.com/nonesiteimages/badcms.png

with the first image on the left and the page text on the right. I would like the preview to appear like this

http://www.myanimeisland.com/nonesiteimages/goodcms.png

which is the way my article is formatted up to the page break. So, I would like the preview break to simply show where the preview 'stops' and have the article preview formatted on the Section page exactly how it is formatted on my article page.

Thanks alot!



Please anyone know this is a big problem for me on my site :(

Xencored 05-12-2010 01:01 PM

Bumb anyone know ?

Lynne 05-12-2010 01:41 PM

Do you always want the image on the top instead of on the left? If it's just a matter of placing the image, try adding this to additional.css:
HTML Code:

/* CMS image on top/center, text align left */
.cms_article_preview_image {float:none;}
.article_preview div.fullwidth {text-align: center;}
.article_preview div.fullwidth div {text-align: left;}

If you need the preview to take the styling from how you have it styled in the article, then that is probably going to be a bit more involved.

Xencored 05-12-2010 02:38 PM

Quote:

Originally Posted by Lynne (Post 2035741)
Do you always want the image on the top instead of on the left? If it's just a matter of placing the image, try adding this to additional.css:
HTML Code:

/* CMS image on top/center, text align left */
.cms_article_preview_image {float:none;}
.article_preview div.fullwidth {text-align: center;}
.article_preview div.fullwidth div {text-align: left;}

If you need the preview to take the styling from how you have it styled in the article, then that is probably going to be a bit more involved.

Awesome thanks its getting there
is there a way to show the image bigger and show say 3 max?

Thanks Lynne

Lynne 05-12-2010 10:46 PM

Showing more images will require quite a bit of coding (right now, only the first image link is saved). Making it bigger just requires adjust properties in the class ".cms_article_preview_image". Go do a search for that and you'll see what stylevars effect it and then change them.

Xencored 05-15-2010 09:03 AM

Quote:

Originally Posted by Lynne (Post 2036027)
Showing more images will require quite a bit of coding (right now, only the first image link is saved). Making it bigger just requires adjust properties in the class ".cms_article_preview_image". Go do a search for that and you'll see what stylevars effect it and then change them.

Awesome Thanks
i found this
Code:

.cms_article_preview_image {
        border:{vb:stylevar vbcms_article_preview_image_border};
        outline: {vb:stylevar vbcms_article_preview_image_outline};
        float:{vb:stylevar left};
        margin:{vb:stylevar vbcms_article_preview_image_margin};
        max-height:{vb:stylevar vbcms_article_preview_image_maxSize};
        max-width:{vb:stylevar vbcms_article_preview_image_maxSize} !important;
        _width:{vb:stylevar vbcms_article_preview_image_maxSize}; /*IE6*/

Than i found the "vbcms_article_preview_image_maxSize " and Change the Size and all is working!!

Thanks you!


All times are GMT. The time now is 03:08 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.05328 seconds
  • Memory Usage 1,726KB
  • 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)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete