Allright i found "sample template" which i presume is the culprit.
Code: Select all
{* orig fullcalendar view *}
{* This template utilizes fullcalendar (http://fullcalendar.io) an interactive javascript calendar *}
{* this action requires that:
a: jquery and jquery-ui be enabled in the page header. You can use jQueryTools, or {cms_jquery} for this.
b: {cgjs_render} be called in the page header, after the inclusion of jquery and jquery ui.
*}
{cgjs_require cssfile='lib/fullcalendar/fullcalendar.min.css'}
{cgjs_require jsfile='lib/fullcalendar/lib/moment.min.js'}
{cgjs_require jsfile='lib/fullcalendar/fullcalendar.js'}
{cgjs_add nominify=1}
{module_action_url action=ajax_fetchevents forajax=1 asign='fetch_url'}
{$actionid='cntnt01'}
$(document).ready(function(){
var _holidays = null;
$.ajax({
url: '{module_action_url action=ajax_fetchholidays forajax=1}'
}).done(function(data){
if( typeof data != 'undefined' && data != null && data.length > 0 ) {
_holidays = data;
}
$('#fullcalendar').fullCalendar({
dayRender: function( date, cell ) {
// get holiday events for today.
if( typeof _holidays == 'string' ) return;
if( ! _holidays instanceof Array ) return;
var _tst1 = date.format('YYYY-MM-DD');
_holidays.forEach(function(entry){
if( _tst1 == entry.start ) {
cell.addClass('holiday');
cell.css('backgroundColor','{$holiday_bgcolor}').css('color','{$holiday_fgcolor}');
cell.html(entry.title);
}
});
},
events: {
url: '{$fetch_url}',
type: 'GET',
data: {
'{$actionid}showchildren': 1,
'{$actionid}detailpage': '{$detailpage}',
'{$actionid}eventtemplate': '{$actionparams.eventtemplate|default:''}',
'{$actionid}editpage': '{$actionparams.editpage|default:''}',
'{$actionid}editeventtemplate': '{$actionparams.editeventtemplate|default:''}',
},
error: function() {
alert('{$mod->Lang('error_fetching_events')|cms_escape}');
}
},
header: {
left: 'prev,next,today',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
defaultEventMinutes: 15,
slotMinutes: 15,
allDayText: '{$mod->Lang('allday')|cms_escape}',
eventColor: '{$dflt_bgcolor}',
eventTextColor: '{$dflt_fgcolor}',
monthNames: {$datestrings.monthNames},
monthNamesShort: {$datestrings.monthNamesShort},
dayNames: {$datestrings.dayNames},
dayNamesShort: {$datestrings.dayNamesShort},
firstDay: {$firstdayofweek},
columnFormat: {
month: 'ddd',
week: 'ddd d/w',
day: 'dddd d/M'
},
buttonText: {
today: '{$text_today|cms_escape}',
week: '{$text_week|cms_escape}',
month: '{$text_month|cms_escape}',
day: '{$text_day|cms_escape}'
},
eventClick: function(event, jsEvent, view) {
// woot, we can go to a detail view.
window.location = event.detail_url;
}
});
});
});
{/cgjs_add}
<div id="fullcalendar"></div>
And here's the system information.
Code: Select all
----------------------------------------------
Cms Version: [b]1.12.1[/b]
Installed Modules:
CMSMailer: [b]5.2.14[/b]
FileManager: [b]1.4.5[/b]
MenuManager: [b]1.8.7[/b]
ModuleManager: [b]1.5.8[/b]
News: [b]2.15.2[/b]
Printing: [b]1.1.2[/b]
Search: [b]1.7.13[/b]
ThemeManager: [b]1.1.8[/b]
Gallery: [b]2.3[/b]
CGExtensions: [b]1.53.19[/b]
CGCalendar: [b]1.16.1[/b]
CMSPrinting: [b]1.0.5[/b]
MicroTiny: [b]1.2.9[/b]
CGSimpleSmarty: [b]1.10[/b]
Config Information:
php_memory_limit: [b][/b]
process_whole_template: [b][/b]
max_upload_size: [b]128000000[/b]
url_rewriting: [b]mod_rewrite[/b]
page_extension: [b][/b]
query_var: [b]page[/b]
image_manipulation_prog: [b]GD[/b]
auto_alias_content: [b]true[/b]
locale: [b][/b]
default_encoding: [b]utf-8[/b]
admin_encoding: [b]utf-8[/b]
set_names: [b]true[/b]
Php Information:
phpversion: [b]5.6.31[/b]
md5_function: [b]On[/b] (True)
gd_version: [b]2[/b]
tempnam_function: [b]On[/b] (True)
magic_quotes_runtime: [b]Off[/b] (False)
E_STRICT: [b]2048[/b]
E_DEPRECATED: [b]8192[/b]
memory_limit: [b]192M[/b]
max_execution_time: [b]90[/b]
output_buffering: [b]On[/b]
safe_mode: [b]Off[/b] (False)
file_uploads: [b]On[/b] (True)
post_max_size: [b]8M[/b]
upload_max_filesize: [b]128M[/b]
session_save_path: [b]/var/cpanel/php/sessions/ea-php56[/b] (4733)
session_use_cookies: [b]On[/b] (True)
xml_function: [b]On[/b] (True)
xmlreader_class: [b]On[/b] (True)
Server Information:
Server Api: [b]cgi-fcgi[/b]
Server Db Type: [b]MySQL (mysql)[/b]
Server Db Version: [b]5.6.37[/b]
Server Db Grants: [b]Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages[/b]
Server Time Diff: [b]No filesystem time difference found[/b]
----------------------------------------------
It's a lifesaver to have you guys since i have no idea where to look for these things. I am truly grateful! Also sorry for taking so long!