[solved] Calendaring customization [highlighting the current month] |
11-26-2016, 12:29 PM
(This post was last modified: 11-28-2016, 09:07 AM by BabalooAye. Edit Reason: Include image to improve explanation ) (11-26-2016, 11:35 AM)InsiteFX Wrote: Yes, you can also extend the Calendar library with MY_Calendar I extended the CI_Calendar and made the generate() method pass his $month variable to the parse_template($cur_month) method, then, he uses $cur_month to apply an exception and assign the class="info" to heading_row_start: PHP Code: if (is_string($this->template)) { Result: ![]() |
Messages In This Thread |
[solved] Calendaring customization [highlighting the current month] - by BabalooAye - 11-25-2016, 08:57 PM
RE: Calendaring customization [highlighting the current month] - by InsiteFX - 11-26-2016, 06:00 AM
RE: Calendaring customization [highlighting the current month] - by BabalooAye - 11-26-2016, 09:09 AM
RE: Calendaring customization [highlighting the current month] - by InsiteFX - 11-26-2016, 11:35 AM
RE: Calendaring customization [highlighting the current month] - by BabalooAye - 11-26-2016, 12:18 PM
RE: Calendaring customization [highlighting the current month] - by BabalooAye - 11-26-2016, 12:29 PM
|