dmystic / joomla-gcalendar

Automatically exported from code.google.com/p/joomla-gcalendar
0 stars 0 forks source link

"Back to calendar" link loses menu 'Itemid' #192

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Created menu item for Gcalendar entry (NOT Google Calendar which doesn't
work; 404 error) to show calendar rendering. Used both Public & Private
HTML links from Google Calendar to test. 
2. Click on menu item.
3. Calendar rendering appears correct for that menu item.
4. Click on forward or back to view ahead/behind a month (or whichever
appearance setting is chosen, ie, week, day, etc.).
5. Link loses connection with menu "Itemid" and points to URL:
http://www.milkclub.org/component/option,com_gcalendar/day,27/gcalendarview,week
/month,7/view,gcalendar/year,2009/

What is the expected output? What do you see instead?

Wrong calendar. Actually, a generic calendar that is not pointing to the
correct module because menu "Itemid,18" (or whichever menu ID it is) is
being stripped out after "option,com_gcalendar" from the URL, as follows:

http://www.milkclub.org/component/option,com_gcalendar/Itemid,18/day,27/gcalenda
rview,week/month,7/view,gcalendar/year,2009/

My PHP skills are not that great but it seems to be in
"../com_gcalendar/site/router.php".

This is the only place where I could track down that the menu Itemid is
being called.

What version are you using?
GCalendar: 2.1.1 j15x suite
joomla: 1.5.12
php: 5.1.6
mysql: 5.0.45
apache: 2.2.3 (centos)
os: Centos 5.3 (Final)
Browser: FF3.5.1

Please provide your web site url.

http://www.milkclub.org/

Original issue reported on code.google.com by brucewol...@gmail.com on 21 Jul 2009 at 4:08

GoogleCodeExporter commented 9 years ago

Original comment by allon.mo...@gmail.com on 21 Jul 2009 at 6:28