Mod JEvents Calendar colored with category colors
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.
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.
Re: Mod JEvents Calendar colored with category colors
by Selfarian » Fri Oct 19, 2012 10:26 am
I have only those files in the mod_jevents_cal folder:
helper.php
mod_jevents_cal.php
mod_jevents_cal.xml
tmpl (folder)
helper.php
mod_jevents_cal.php
mod_jevents_cal.xml
tmpl (folder)
- Selfarian
- Posts: 13
- Joined: Wed Feb 29, 2012 2:51 pm
Re: Mod JEvents Calendar colored with category colors
by mediajuice » Fri Oct 19, 2012 10:29 am
Hi Selfarian, for the alternative you can find it here:
\templates\YOURTEMPLATE\html\mod_jevents_cal\alternative\calendar.php
I suggest you also make changes of this article
\templates\YOURTEMPLATE\html\mod_jevents_cal\alternative\calendar.php
I suggest you also make changes of this article
You should use a template override http://www.jevents.net/jevents-15-topme ... jevents-15
- mediajuice
- Bronze Members
- Posts: 2
- Joined: Wed Oct 03, 2012 4:56 pm
Re: Mod JEvents Calendar colored with category colors
by Selfarian » Fri Oct 19, 2012 11:09 am
Hi Mediajuice,
ah, ok, thank you. I found it here: /modules/mod_jevents_cal/tmpl/default

I will try the link you provided, too.
Thanks for you help!
ah, ok, thank you. I found it here: /modules/mod_jevents_cal/tmpl/default
I will try the link you provided, too.
Thanks for you help!
- Selfarian
- Posts: 13
- Joined: Wed Feb 29, 2012 2:51 pm
Re: Mod JEvents Calendar colored with category colors
by Selfarian » Mon Oct 22, 2012 1:30 pm
Hi mediajuice,
i tried it with the template override and with your code and i got an error:
So i simply tried to dump the $currentDay var (example for the 01.10.2012 on which are 4 Events):
So, i think the error is right, $currentDay['events'] is not an array, it's an boolean var :/
So, did you add code somewhere else?
Best regards,
Selfarian
i tried it with the template override and with your code and i got an error:
- Code: Select all
Warning: Invalid argument supplied for foreach() in /path/to/joomla/templates/skc-lohhof/html/mod_jevents_cal/alternative/calendar.php on line 399
So i simply tried to dump the $currentDay var (example for the 01.10.2012 on which are 4 Events):
- Code: Select all
array(10) {
["countDisplay"]=>
int(0)
["monthType"]=>
string(7) "current"
["month"]=>
int(10)
["year"]=>
string(4) "2012"
["events"]=>
bool(true)
["today"]=>
bool(false)
["d"]=>
int(1)
["d0"]=>
string(2) "01"
["link"]=>
string(50) "/index.php/termine/day.listevents/2012/10/01/15|19"
["cellDate"]=>
int(1349042400)
}
So, i think the error is right, $currentDay['events'] is not an array, it's an boolean var :/
So, did you add code somewhere else?
Best regards,
Selfarian
- Selfarian
- Posts: 13
- Joined: Wed Feb 29, 2012 2:51 pm
Re: Mod JEvents Calendar colored with category colors
by Geraint » Mon Oct 22, 2012 3:15 pm
What config option did you select for the question about checking if there are events on each day?
------------
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!
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!
-

Geraint - Posts: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
Re: Mod JEvents Calendar colored with category colors
by Selfarian » Mon Oct 22, 2012 4:20 pm
Could you tell me, where i can set it up?
I didn't find a setting like that.
I looked in the ACP module setting and component setting
I didn't find a setting like that.
I looked in the ACP module setting and component setting
- Selfarian
- Posts: 13
- Joined: Wed Feb 29, 2012 2:51 pm
Re: Mod JEvents Calendar colored with category colors
by Teeshot » Mon Oct 22, 2012 8:31 pm
Hi,
I have the same problem, I'm looking how to color categories in the mini calendar, but I can not find. I did some tests with a single event and I have the same message Selfarian.
Same with the default template
Thank
I have the same problem, I'm looking how to color categories in the mini calendar, but I can not find. I did some tests with a single event and I have the same message Selfarian.
Warning: Invalid argument supplied for foreach() in /home/teeshotw/public_html/pessacnatsynchro/modules/mod_jevents_cal/tmpl/ext/calendar.php on line 212
Same with the default template
Thank
- Code: Select all
Joomla : 2.5.7
component_com_jevents : 2.2.8
module_mod_jevents_cal : 2.2.0
module_mod_jevents_latest : 2.2.5
module_mod_jevents_legend : 2.1.13
plugin_editors_jce : 2.2.8.4
- Teeshot
- Posts: 5
- Joined: Sat Sep 10, 2011 6:05 pm
Re: Mod JEvents Calendar colored with category colors
by Geraint » Tue Oct 23, 2012 8:30 am
Selfarian wrote:Could you tell me, where i can set it up?
I didn't find a setting like that.
Module parameters - search for "Skip Daily Event Check?"
I looked in the ACP module setting and component setting
No Idea what ACP is I'm afraid.
------------
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!
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!
-

Geraint - Posts: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
Re: Mod JEvents Calendar colored with category colors
by Selfarian » Tue Oct 23, 2012 10:25 am
Ah ok, thanks. Now i found it.
I tried Yes, then there's no error. But all booked days have the same color.
If i set it to No, the error happens.
I checked what's set in $currentDay["Events"]. If the setting is set to yes, it's always "false" so the if-condition is also false and the color isn't set.
With ACP i meant the Admin Control Panel.
I tried Yes, then there's no error. But all booked days have the same color.
If i set it to No, the error happens.
I checked what's set in $currentDay["Events"]. If the setting is set to yes, it's always "false" so the if-condition is also false and the color isn't set.
With ACP i meant the Admin Control Panel.
- Selfarian
- Posts: 13
- Joined: Wed Feb 29, 2012 2:51 pm
Re: Mod JEvents Calendar colored with category colors
by Teeshot » Wed Oct 24, 2012 10:23 pm
Hi,
little up the code does not work as.
Thank
little up the code does not work as.
Thank
- Teeshot
- Posts: 5
- Joined: Sat Sep 10, 2011 6:05 pm
21 posts
• Page 2 of 3 • 1, 2, 3
Return to Jevents 2.x (Free Access)
Who is online
Users browsing this forum: No registered users

