Jevents 2.x (Free Access)

Search ordering

Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support please follow these steps:

1. Update all JEvents add on's first, via the Joomla! Updater
2. Copy and Paste the JEvents Support Information from the JEvents Control Panel.
3. If you get a 500 error OR white page, enable Maximum Error Reporting in Joomla! Global Config and visit the page again, this should give you a more detailed error and help us provide a prompt response.

Postby EzerchE » Tue Oct 16, 2012 4:26 pm

Hello,

i want to order my index.php?option=com_jevents&view=cat&task=cat.listevents&search_fv results descending.

I am looking to dbmodel.php file for the correct parameters but still didnt find the right codes, can you help me please?

Thanks...
EzerchE
 
Posts: 17
Joined: Thu Feb 26, 2009 11:58 am

Postby Tonyp » Tue Oct 16, 2012 6:54 pm

Hello,

You deffinitely do not want to edit dbmodel.php.

You should be looking at:

/components/com_jevents/views/your view/cat/tmpl/

And look in the files in their, you will also want to apply them as a template over ride please see:

http://www.jevents.net/jevents-15-topme ... jevents-15

Regards
Tony
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23834
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Postby EzerchE » Wed Oct 17, 2012 11:43 am

Thanks for your answer,

I have changed the line in default listevents_body.php

" ORDER BY c.level asc, c.title LIMIT 1";

to

" ORDER BY c.level desc, c.title LIMIT 1";

but didnt work. Still order the results from old to new entries.
EzerchE
 
Posts: 17
Joined: Thu Feb 26, 2009 11:58 am


Return to Jevents 2.x (Free Access)

cron
  • Who is online
  • View new posts
  • View unanswered posts
  • In total there is 1 user online :: 1 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: Yahoo [Bot]