-
☆ A M B ☆
- 756 Posts
@sjmclean
you question about altering the WHERE clause will not work properly as it will impact other aspects of the calendar results, that select statement is a shared one across many functions throughout the calendar.
However, my previous offer still stands and would put it on the list of enhancements for the next release. If you can’t wait until the next release, aprox 1 week, then please let me know.
cheers
Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
Visit
CharlesMx.com for latest news and status updates.
-
☆ A M B ☆
- 117 Posts
Hey Charless
Thanks for the reply!
I am only displaying the calendar part and don’t need the rest of the functions in my site.
You’re right about the SQL. Actually I came up with another solution which is more feasible:
SQL to get all events
$datetoday = today’s date;
Get All results
If SQL result = $datetoday
{
Display default chunk for days with event;
}
Elseif SQL result != $datetoday
{
Display different chunk;
}
Else
{
Display default chunk for days without event
}
Your new release is for Evo version right?
@charless - is there a way in the current release (0.0.7-rc4) to change the style for the current day (class=’today’) in list view? It works great calendar view, but I wasn’t sure if I was missing something in the list view template. I basically just want to change the background color of the box the holds the month name.
If not, can you point me to some code that would do the trick?
Thanks!
-
☆ A M B ☆
- 756 Posts
Quote from: Theost at Oct 18, 2010, 09:47 AM
@charless - is there a way in the current release (0.0.7-rc4) to change the style for the current day (class=’today’) in list view? It works great calendar view, but I wasn’t sure if I was missing something in the list view template. I basically just want to change the background color of the box the holds the month name.
If not, can you point me to some code that would do the trick?
Thanks!
that’s not a problem, I’ll add it in.
cheers
Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
Visit
CharlesMx.com for latest news and status updates.
-
☆ A M B ☆
- 756 Posts
@sjmclean
here is an example of the enhancement, with my drastic coloring
this exposes two new configuration/parameters to change to this view.
cheers
Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
Visit
CharlesMx.com for latest news and status updates.
-
☆ A M B ☆
- 756 Posts
check your /assets/modules/mxCalendar/config/ folder and delete the config.xml file and then log into the Manager and run the mxCalendar manager (Modules > mxCalendar) which should rerun the install and update scripts.
cheers
Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
Visit
CharlesMx.com for latest news and status updates.