Vivvo CMS Support Forum Home | Free Trial | Online Demo | Docs and Manuals | Order Now   

Go Back   Vivvo CMS Support Forums > Code and Template Customizations > Customizations & Templates

Customizations & Templates Various hacks and customizations for Vivvo 4 branch. Template repository and all related template customization discussions.

Reply
 
Thread Tools Display Modes
Old 03-17-2008, 03:40 AM   #1
sdin
Guest
 
Posts: n/a
Default Set number of articles in Rotating Headline

Is there a way to set the number of articles in the Rotating Headline?
I'm using the Headline_Big template and would like to show 20 headlines instead of 10.
I've gone through the Preferences but can't find it there?
Thanks.
  Reply With Quote
Old 03-17-2008, 10:06 AM   #2
Micha
Administrator
 
Micha's Avatar
 
Join Date: Feb 2006
Location: Belgrade
Posts: 2,661
Rep Power: 10
Micha will become famous soon enough
Default

Go to your templates\xhtml\box\rotating_headlines.tpl and add this value inside <vte:params> at the top of the template (somewhere bellow <vte:param name="search_status" value="2" />):

Code:
<vte:param name="search_limit" value="20" />
This should give you 20 headline articles in rotation.
__________________
--[Read Forum Rules and Guidelines before you post!!!]--

Djole, Djole, bas si bezobrazan sto si se pravio da si mali zekan. Zato cu te dobro kazniti...
Micha is offline   Reply With Quote
Old 03-17-2008, 10:38 AM   #3
sdin
Guest
 
Posts: n/a
Default

It works. Thanks a lot.
  Reply With Quote
Old 03-17-2008, 11:20 AM   #4
Micha
Administrator
 
Micha's Avatar
 
Join Date: Feb 2006
Location: Belgrade
Posts: 2,661
Rep Power: 10
Micha will become famous soon enough
Default

No problem
__________________
--[Read Forum Rules and Guidelines before you post!!!]--

Djole, Djole, bas si bezobrazan sto si se pravio da si mali zekan. Zato cu te dobro kazniti...
Micha is offline   Reply With Quote
Old 07-02-2009, 01:59 PM   #5
vanhire
Guest
 
Posts: n/a
Default Default template: increasing the number articles in rotating headlines

Hi there, its as good thread but sadly it does not work the same way for the default template. what can i do to increase the number of headlines in the rotating headlines box also how do i alter the size of the box for larger images?

kind regards,

jonathan
  Reply With Quote
Old 07-02-2009, 02:23 PM   #6
Micha
Administrator
 
Micha's Avatar
 
Join Date: Feb 2006
Location: Belgrade
Posts: 2,661
Rep Power: 10
Micha will become famous soon enough
Default

Default template doesn't have such limitation.
All you need to do is to mark article as headline in administration, and they'll show up within rotating headlines box.

As for changing the dimensions of the box, you can edit css/rotating_headlines.css file.
__________________
--[Read Forum Rules and Guidelines before you post!!!]--

Djole, Djole, bas si bezobrazan sto si se pravio da si mali zekan. Zato cu te dobro kazniti...
Micha is offline   Reply With Quote
Old 07-02-2009, 02:35 PM   #7
vanhire
Guest
 
Posts: n/a
Default

well there must be something wrong... i have 16 headline article and it will only display 10. ( see image )

bug?
Attached Images
File Type: jpg Picture 1.jpg (63.2 KB, 36 views)
  Reply With Quote
Old 07-02-2009, 02:51 PM   #8
Micha
Administrator
 
Micha's Avatar
 
Join Date: Feb 2006
Location: Belgrade
Posts: 2,661
Rep Power: 10
Micha will become famous soon enough
Default

Hmm, ok, I've just tried that, the default limitation is 10, however, when I place

Code:
<vte:param name="search_limit" value="20" />
it gives me up to 20 headlines in that box.
__________________
--[Read Forum Rules and Guidelines before you post!!!]--

Djole, Djole, bas si bezobrazan sto si se pravio da si mali zekan. Zato cu te dobro kazniti...
Micha is offline   Reply With Quote
Old 07-02-2009, 02:56 PM   #9
vanhire
Guest
 
Posts: n/a
Default

Awsome.... it does it...!! there are some formatting errors when the numbers wrap in the box. but at least i can show more than one headline... Thanks.!

How do i extend the size of headlines box? I have looked in the CSS and have made the box large 420px wide but there does not seem to be any effect on the home page.
  Reply With Quote
Old 07-02-2009, 03:40 PM   #10
Micha
Administrator
 
Micha's Avatar
 
Join Date: Feb 2006
Location: Belgrade
Posts: 2,661
Rep Power: 10
Micha will become famous soon enough
Default

Ok, if we're talking default template/theme here, than you should do following:

Since Headlines and latest news share same row (those three articles on the right side of headlines), you need to edit their wrappers.

You can find them in css/layout default.css file:

Code:
/*********** equal_default *********************/
.features_equal_default #content_features_left       {width: 342px;}
.features_equal_default #content_features_left       {width: 228px;}
Now content_features_left ID is where your headlines are wrapped in, so you need to edit that value, however, the content_features_left ID needs to be reduced for as many pixels added to content_features_left ID.

For example, if content_features_left is enlarged by 100px (442px), than you need to reduce content_features_left from 228px to 128px.

Hope that helps
__________________
--[Read Forum Rules and Guidelines before you post!!!]--

Djole, Djole, bas si bezobrazan sto si se pravio da si mali zekan. Zato cu te dobro kazniti...
Micha is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Order now:

Order your copy of Vivvo now and get:
bullet Six months free upgrades
bullet Free support
bullet Full source code
bullet Immediate download
bullet Starting at only $295.00
Order now

Support HelpDesk:

You can submit a trouble ticket in the support area at any time, using your client area email and password.

Vivvo CMS Resource Center:

The Vivvo CMS Resource Center is your window to a variety of resources that showcase Vivvo's features and technologies. So whether you're brand new to Vivvo or a seasoned user, you can find the information you need right here!

Latest Additions:

Contact us:

Business hours
Mon-Fri 9:00AM - 6:00PM GMT+1
(Europe)
Telephone Sales
381 11 311-50-20
Email inquiries
sales@vivvo.net
(Sales inquiries)
support@vivvo.net
(Support inquiries)

All times are GMT +1. The time now is 04:58 AM.
Contact Us - Vivvo Home - Archive - Privacy Statement - Top

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.