JEvents 3.1 (Free Access)

menu : event details  Topic is solved

Forum for JEvents 3.1 for Joomla 3.x and 2.5.
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 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: 42850
Joined: Fri Feb 15, 2008 6:14 pm

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: 650
Joined: Tue Jan 31, 2012 1:12 pm

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 25 times
---------------------------------------
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 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: 650
Joined: Tue Jan 31, 2012 1:12 pm

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: 42850
Joined: Fri Feb 15, 2008 6:14 pm

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: 650
Joined: Tue Jan 31, 2012 1:12 pm

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: 42850
Joined: Fri Feb 15, 2008 6:14 pm

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: 650
Joined: Tue Jan 31, 2012 1:12 pm

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: 42850
Joined: Fri Feb 15, 2008 6:14 pm

Previous

Return to JEvents 3.1 (Free Access)

  • 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]