Replacement tag syntax in relation to calendar Mod
Posted: Sun 25. Jun 2006, 07:34
I have successfully installed the ionrock calendar mod and would like to put in a replacement tag in my content to display the calendar. However, I am not sure of the syntax. From the documentation I got this:
And I added the default templates to get this:
… but I am getting this error:
I checked and the templates are where they are supposed to be for the calendar.
Line 38 is:
Not sure if this will make sense to anyone. I don't know alot about PHP code.
Code: Select all
{CAL:Category Id #:Calendar template file:Event template file:Container Div id Name}
Code: Select all
{CAL:Category Id #:0 Calendar template file:maincalendar.template.php Event template file:default.event.template.php}
Code: Select all
Warning: file_get_contents(/wcms/include/inc_module/mod_calendar/inc_front/templates/0 Calendar template file): failed to open stream: No such file or directory in /wcms/include/inc_module/mod_calendar/inc_front/func.inc.php on line 38
Line 38 is:
Code: Select all
$template = file_get_contents(PHPWCMS_ROOT.'/include/inc_module/mod_calendar/inc_front/templates/'.$main_template_file);