The template not in theme template folder, please update the calendar.php file.
I think in this way:
if (is_readable(THEME.'templates/calendar_menu/calendar_template.php')) { require(THEME.'templates/calendar_menu/calendar_template.php'); } else { require(e_PLUGIN.'calendar_menu/templates/calendar_template.php'); }
and need make the template in the plugin folder and put the default template in this.
In this way the ec_pf_template.php:
if (is_readable(e_PLUGIN.'calendar_menu/templates/ec_pf_template.php')) require_once(e_PLUGIN.'calendar_menu/templates/ec_pf_template.php'); if (is_readable(e_PLUGIN.'calendar_menu/templates/ec_pf_user_template.php')) require_once(e_PLUGIN.'calendar_menu/templates/ec_pf_user_template.php'); if (is_readable(THEME.'templates/ec_pf_template.php')) require_once(THEME.'templates/ec_pf_template.php');
calendar_menu.php, next_event_menu.php and for ec_mailout_template.php (I don't see where is)
...and can You put in template all hardcoded layouts?
Thanks!
The template not in theme template folder, please update the calendar.php file. I think in this way:
if (is_readable(THEME.'templates/calendar_menu/calendar_template.php')) { require(THEME.'templates/calendar_menu/calendar_template.php'); } else { require(e_PLUGIN.'calendar_menu/templates/calendar_template.php'); }
and need make the template in the plugin folder and put the default template in this.In this way the ec_pf_template.php:
if (is_readable(e_PLUGIN.'calendar_menu/templates/ec_pf_template.php')) require_once(e_PLUGIN.'calendar_menu/templates/ec_pf_template.php'); if (is_readable(e_PLUGIN.'calendar_menu/templates/ec_pf_user_template.php')) require_once(e_PLUGIN.'calendar_menu/templates/ec_pf_user_template.php'); if (is_readable(THEME.'templates/ec_pf_template.php')) require_once(THEME.'templates/ec_pf_template.php');
calendar_menu.php, next_event_menu.php and for ec_mailout_template.php (I don't see where is) ...and can You put in template all hardcoded layouts? Thanks!