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

Go Back   Vivvo CMS Support Forums > Vivvo 4 > Troubleshooting

Troubleshooting Problems, need help? Have a tip or advice? Post it here.

Reply
 
Thread Tools Display Modes
Old 08-04-2008, 06:34 PM   #1
menscerto
Vivvo User
 
Join Date: Mar 2008
Posts: 70
Rep Power: 6
menscerto is on a distinguished road
Default Changing display order in search engine

Currently if a do a search using Vivvo's search engine the articles appear in creation order (descending). I want them to be sorted by article date. How can I do this? Any help would be much appreciated, even if it you can just point me to the php file that controls this.
menscerto is offline   Reply With Quote
Old 08-05-2008, 08:40 AM   #2
Micha
Administrator
 
Micha's Avatar
 
Join Date: Feb 2006
Location: Belgrade
Posts: 2,662
Rep Power: 10
Micha will become famous soon enough
Default

Ok, here goes.
Go to your search_results/default.tpl template.
And right bellow this line:
Code:
<vte:box module="box_article_list" params = "{content_params}">
(should be around line 16)
add following:

Code:
<vte:params>
  <vte:param name="search_sort_by" value="created" />
</vte:params>
Basically, you can add more parameters if you need to sort your search results.
For example:

Code:
<vte:params>
  <vte:param name="search_sort_by" value="created" />
  <vte:param name="search_order" value="ascending" />
</vte:params>
__________________
--[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 08-05-2008, 01:16 PM   #3
menscerto
Vivvo User
 
Join Date: Mar 2008
Posts: 70
Rep Power: 6
menscerto is on a distinguished road
Default

Thanks! It did the job.
menscerto is offline   Reply With Quote
Old 08-05-2008, 03:07 PM   #4
Micha
Administrator
 
Micha's Avatar
 
Join Date: Feb 2006
Location: Belgrade
Posts: 2,662
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
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 12:00 PM.
Contact Us - Vivvo Home - Archive - Privacy Statement - Top

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