J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Sat May 18, 2013 8:15 pm

menu : event details  Topic is solved

Forum for JEvents 3.0 for Joomla 3.0 and 2.5.

Re: menu : event details

Postby Geraint » Sun Jan 13, 2013 12:24 pm

Excellent detective work! The problem ONLY arises with the date range menu item.

Please edit the file components/com_jevents/router.php and in the method translatetask at line 924 add this to the list of tasks
Code: Select all
"range.listevents",

after
Code: Select all
"day.listevents",
------------
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: 30507
Joined: Fri Feb 15, 2008 6:14 pm

Re: menu : event details

Postby tangopos » Sun Jan 13, 2013 1:18 pm

I went to /www/dev/jupgrade/components/com_jevents
downloaded router.php,

line 924 :
function translatetask($task)


then I tried to find "range.
nothing !

... sorry
tangopos
Gold Members
Posts: 302
Joined: Tue Jan 31, 2012 1:12 pm

Re: menu : event details

Postby Tonyp » Sun Jan 13, 2013 2:35 pm

Hello,

This is the fixed file. Please extract then upload to: components/com_jevents/

Regards
Tony
Attachments
router.zip
(3.88 KiB) Downloaded 13 times
---------------------------------------

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: 8713
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: menu : event details

Postby tangopos » Sun Jan 13, 2013 3:58 pm

works a little bit better, but only a little bit !
look at :
http://www.tangopostale.com/dev/jupgrad ... stevents/-

which is very different from
http://www.tangopostale.com/fr/programm ... stevents/-
...

Difference analysis : in the 3.0 line there is a "range_listevents"
change "_" for "." and it works
tangopos
Gold Members
Posts: 302
Joined: Tue Jan 31, 2012 1:12 pm

Re: menu : event details

Postby Geraint » Mon Jan 14, 2013 10:20 am

The old URLs will work on the new site so you won't get any broken links. the goal in JEvents 3.0 is to try to simplify the URLs.

In fact I am wondering about removing the range_listevents part altogether for direct menu links e.g.
http://www.tangopostale.com/dev/jupgrad ... -festival/
------------
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: 30507
Joined: Fri Feb 15, 2008 6:14 pm

Re: menu : event details

Postby tangopos » Mon Jan 14, 2013 11:36 am

Fine with me IF I can list all events from one date to another, or from today to 31/7/13 ...

but right now the links such as :
http://www.tangopostale.com/dev/jupgrad ... /periode/-

does not work (should give all events in first week of july 2012)
tangopos
Gold Members
Posts: 302
Joined: Tue Jan 31, 2012 1:12 pm

Re: menu : event details

Postby Geraint » Mon Jan 14, 2013 3:49 pm

I had missed one other line where the range.listevents was missing

Can you try it now?
------------
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: 30507
Joined: Fri Feb 15, 2008 6:14 pm

Re: menu : event details

Postby tangopos » Tue Jan 15, 2013 9:02 am

everything is OK; what did you change ?

thank you
(got another little problem, will open new post for it)
tangopos
Gold Members
Posts: 302
Joined: Tue Jan 31, 2012 1:12 pm

Re: menu : event details  Topic is solved

Postby Geraint » Tue Jan 15, 2013 10:39 am

I was not checking for the translation of range.listevents in the incoming script.
------------
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: 30507
Joined: Fri Feb 15, 2008 6:14 pm

Previous

Return to JEvents 3.0 (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