vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Cms Blocks (https://vborg.vbsupport.ru/showthread.php?t=259753)

3amalah 03-02-2011 09:57 PM

Cms Blocks
 
1 Attachment(s)
Hello

I Need To Make Th Content Cms Show 3 Articles In A Row Instead Of 1

Example

https://vborg.vbsupport.ru/attachmen...1&d=1299110226

The Clock = The Article

Is This Possible

wpeloquin 03-02-2011 10:18 PM

1 Attachment(s)
If i understand you correctly, you mean something like the picture i attached. If so, go to AdminCP -> vBulletin CMS -> Section Manager and change the desired section to a 3 column layout. You can add/edit the grids and layouts under the vBulletin CMS as well

Lynne 03-02-2011 10:25 PM

Go to section > hover over section title > click edit pencil > columns > 3

3amalah 03-05-2011 03:50 AM

tnx so much if i need to make border around the content whats the template name of this content so i can edit ?

Lynne 03-05-2011 04:03 PM

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

3amalah 03-07-2011 07:10 AM

Quote:

Originally Posted by Lynne (Post 2169869)
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

Aha Ty :) I Will Try

Is There Anyone Provided A Mod To Improve The Appear Of Content ?

tonyvh2 03-09-2011 12:53 PM

I can imagine you want that, as the CMS frontpage layout is not really well thought of from a designer point of view,

for one thing the "read more" button is not ligned out if you use more than one column for your layout, which is not so nice.

I am busy writing a custom style, with nice margins etc

But a quick solution for this:
Go to template:

vbcms_content_article_preview

depending on your layout place the contents of the article preview image/text between

HTML Code:

<div class="cms_article_minheight">
and
HTML Code:

</div>
Then go to vbcms.css and put:

HTML Code:

.cms_article_minheight { min-height:265px; }
In this example the readmore buttons will be placed at a minimum of 265px beneath the title, even if there is no more text to show (the height is all depending on the length of your preview text and the max width of your images)


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

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.01149 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
  • (3)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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