My Subscriptions

No active or expired subscriptions. View Available Subscriptions

Advanced Search

Home arrow Forum arrow Extensionsarrow JCal Pro and JCal Clientarrow JCal Pro 1.5.x for Joomla! 1.0.xarrow SOLVED: Minical problem if invoked from front page?
Pages: [1]
Print
Author Topic: SOLVED: Minical problem if invoked from front page?  (Read 1878 times)
tonysab
Newbie
*

Karma: +0/-0
Posts: 8


View Profile
« on: April 24, 2007, 09:20:31 AM »

I have just downloaded and installed 1.5.3, I only really want to use the latest events and minical on the right hand side of my front page.

If I click on a day in the minical I get -

"The page you are trying to access does not exist.
Please select a page from the main menu. "

However if I have previously displayed an event from the latest events (ie I have gone into the calendar), then clicking on a day in the minical works ok!

Can anyone advise what has happened here?

Thanks in advance.
« Last Edit: November 06, 2007, 10:37:09 AM by V-man » Logged
Txanny
Newbie
*

Karma: +0/-0
Posts: 7


View Profile
« Reply #1 on: April 24, 2007, 09:43:33 AM »

I have similar problems and found what cause it. I have mini-calendar and latest events modules on the front page, on the left side.

If the publishing order is:
1) Latest Events second
2) MiniCalendar.

The I get a "Page not Found" error or ... it shows again the front page, not the calendar.

As a workaround, I've changed the publishing order, to that:
1) Minicalendar
2) Latest events

Then the mini-calendar works perfect. Perhaps is some kind of dependencies or incompatibilities...

I Wanted to have first the latest events list, but no way. If some one can help with this.
Logged
V-man
Administrator
Hero Member
*****

Karma: +11/-1
Posts: 1999


Ignorance is curable, stupid is forever.


View Profile
« Reply #2 on: April 24, 2007, 02:08:46 PM »

urls would be helpful.
Logged

*** Please read this post and the FAQs before posting in the forum. ***

Support questions via PM will be ignored. Please use
tonysab
Newbie
*

Karma: +0/-0
Posts: 8


View Profile
« Reply #3 on: April 25, 2007, 05:51:23 AM »

My initial problem seemed to go away once I moved the event list and minical into the "right" position instead of "left". However I then had a new problem which was clicking on a day in the minical just showed the front page again. I read through various threads on here regarding this - all to no avail apart the "big hack" thus -

"If you can't figure it out and want a Hack (that's "hack" with a capital "H"!) to make this work, try adding the following to "mod_jcalpro_minical.php", at line 49 (right after we return from the "require_once" of the main JCalPro configuration file):

Code:
$CONFIG_EXT['calendar_calling_page'] = "index.php?option=com_jcalpro&Itemid=27";

This was on 1.5.3 too. Seems to work fine now, www.abingdontownfc.co.uk
« Last Edit: April 25, 2007, 05:53:29 AM by tonysab » Logged
Txanny
Newbie
*

Karma: +0/-0
Posts: 7


View Profile
« Reply #4 on: April 25, 2007, 07:31:01 AM »

This problem is the same that I had. If you have the Last Events module before the minical, then clicking on a date, shows up the frontpage again. Change the order (Minical first or unpublish the Last Events list, and minical will work perfect.

My URL is http://www.dirtydick.es - Here it is working perfect because the order.
Take a look at my preview site: http://www.dirtydick.es/preview and you will see that clicking on a date, the frontpage shows again.

Jordi.
Logged
V-man
Administrator
Hero Member
*****

Karma: +11/-1
Posts: 1999


Ignorance is curable, stupid is forever.


View Profile
« Reply #5 on: April 25, 2007, 07:50:00 PM »

On your preview site, the wrong ItemID is coming up from minical (ItemID=30). Did u try manually setting this in the module parameters to match the ItemID of your calendar menu item (ItemID=34).

Unlike the preview site, the main site has SEF urls enabled. Do u get the same behaviour with them disabled (i.e. does it work in the existing layout?)
Logged

*** Please read this post and the FAQs before posting in the forum. ***

Support questions via PM will be ignored. Please use
Txanny
Newbie
*

Karma: +0/-0
Posts: 7


View Profile
« Reply #6 on: April 25, 2007, 08:23:31 PM »

Thanks v-man.

Setting the ItemID manually solves the problem. It is not necessari to input the specific ID, just telling the module that should use an specific ItemID works well and gets the correct ID. Just to prevent this problem again, I manually entered the correct ItemID for the calendar (34). If you don't do that, minicalendar gets the ID of the frontpage for some strange reason.

On my live site ... now there is a hacked version of minicalendar. The original version 1.5.3 does not support SEF and does not work well with it. So I've modified the module that is working on my live site to support SEF correctly. There it works with no problems.

Thank you for helping.
Logged
V-man
Administrator
Hero Member
*****

Karma: +11/-1
Posts: 1999


Ignorance is curable, stupid is forever.


View Profile
« Reply #7 on: April 25, 2007, 08:41:13 PM »

Can u please post the minical so we can see the SEF changes? Which SEF com are using?
Logged

*** Please read this post and the FAQs before posting in the forum. ***

Support questions via PM will be ignored. Please use
Txanny
Newbie
*

Karma: +0/-0
Posts: 7


View Profile
« Reply #8 on: April 25, 2007, 09:12:01 PM »

I've just called to the function sefRelToAbs() when creating the URLs.
In the attached file, the modified lines are: 99, 225, 279, 788, 789 and 816.
Regards.
Logged
van
Sr. Member
****

Karma: +0/-0
Posts: 442


View Profile
« Reply #9 on: April 29, 2007, 09:23:55 PM »

The SEF fixes have been added to the codebase.
Logged
Pages: [1]
Print
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com

Original Joomla Template design by RocketTheme ( Conversion by Bloc)