J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Tue May 21, 2013 7:08 am

SOLVED - Order Categories in Legend_Categories....

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 copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.

SOLVED - Order Categories in Legend_Categories....

Postby GTHEROND » Thu Oct 13, 2011 7:17 am

the order of categories of Legend_Calendar is in the component and not in the module .... Why?
The order is now alphabetical order .... shame

An idea to run as in version 1.5.5?

thanks
GTHEROND
Posts: 16
Joined: Tue Oct 04, 2011 6:41 am

Re: Order Categories in Legend_Categories....

Postby Tonyp » Sun Oct 16, 2011 8:55 pm

Sorry.. Can you explain a little more?

What is it you are trying to achieve?
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8749
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Order Categories in Legend_Categories....

Postby GTHEROND » Mon Oct 17, 2011 9:26 am

Hello,

Forward with JEvents 1.5.5 the order of categories in module Legend_Categories was determined in the component.
Since version 2.0.x the order is alphabetical so cunning and so I by adding 1,2,3 etc in the titles of the categories so they are stored in my order.
Why?

thank you
http://www.sudkarting.fr/index.php?/component/option,com_jevents/Itemid,204/task,month.calendar/view,month/
GTHEROND
Posts: 16
Joined: Tue Oct 04, 2011 6:41 am

Re: Order Categories in Legend_Categories....

Postby Geraint » Tue Oct 18, 2011 10:32 am

Can you try chaning line 258 of modules/mod_jevents_legend/default/legend.php to
Code: Select all
. "\n ORDER BY c.ordering"
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30529
Joined: Fri Feb 15, 2008 6:14 pm

Re: Order Categories in Legend_Categories....

Postby GTHEROND » Tue Oct 18, 2011 4:06 pm

Hello

It works wonderful!!

thank you
GTHEROND
Posts: 16
Joined: Tue Oct 04, 2011 6:41 am


Return to Jevents 2.x (Free Access)

Who is online

Users browsing this forum: No registered users

Main Menu

User Menu

Hosted By


Who is online

In total there are 0 users online :: 0 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: No registered users

Login Form