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 04-07-2008, 05:04 PM   #1
dave25
Senior Vivvo User
 
Join Date: Sep 2007
Posts: 165
Rep Power: 6
dave25 is on a distinguished road
Default stripe: limit last articles + 4

In features stripe I have this code:
HTML Code:
search_cid="7,8,9,10"  search_limit="8"
I want to show last 8 articels, but not starting from last article (1) to (8).
How can I show last articles 5 to 12 ? (start from last article + 4 to last article + 11.

Thank you
dave25 is offline   Reply With Quote
Old 04-08-2008, 09:20 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

You can add this on that line start="5".

Code:
search_cid="7,8,9,10"  search_limit="8" start="5"
__________________
--[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 04-08-2008, 10:24 PM   #3
dave25
Senior Vivvo User
 
Join Date: Sep 2007
Posts: 165
Rep Power: 6
dave25 is on a distinguished road
Default

Did that, did not change a thing
dave25 is offline   Reply With Quote
Old 04-09-2008, 09:15 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

Hmm, ok, you can try next:

go to your templates\xhtml\plugin\generator\features_stripe.t pl template, and instead of this start="{strip_index}" (should be on line 14), place start="5".

This should work, but the downside is that you can use that stripe only on one place (or every other stripe you generate will start from 5th article).

Other thing you can do is to make a new template from features_stripe.tpl (latest-news_stripe.tpl for example) with your parameters, save it in box folder, and load it in template from there.

That way stripe template in generator folder would stay intact for you to generate other lists from it.
__________________
--[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 04-09-2008, 12:36 PM   #5
dave25
Senior Vivvo User
 
Join Date: Sep 2007
Posts: 165
Rep Power: 6
dave25 is on a distinguished road
Default

Thanks, it worked, but now there is another problem: When you press on the arrow button and go to the next results, the line will always start from article 5 and not from the next results.
dave25 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 10:05 PM.
Contact Us - Vivvo Home - Archive - Privacy Statement - Top

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