10845 Posts in 2513 Topics by 1792 members
|Go to End|
21 January 2011 at 7:21am
I need your help!
I'm testing the module Event Calendar. When I use theme blackcandy, it all works. But not with other theme (for example, curiouslygreen): Calendar-widget will not load, the format is wrong.
Can someone please help?
22 January 2011 at 4:02am
The templates that come with EventCalendar are just examples. They're not meant for your production site. You need to copy them to their respective directories in your theme folder. E.g. copy /event_calendar/templates/Layout/Calendar.ss to /themes/your_theme/templates/Layout/Calendar.ss, run ?flush=1, and modify the templates to work with your site.
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com
22 January 2011 at 4:57am
Thanks for your answer!
Unfortunately it did not work ((
I copied the calendar template files to theme / template. Calendar widget does not load.
Another idea? Please!
22 January 2011 at 5:39am
22 January 2011 at 6:10am Last edited: 22 January 2011 6:24am
I can not see calendar (see the picture).
I see "loading" the word, but nothing happens...
oops. oops. IE displays the calendar but not formatted correctly (see the other picture)
The first image is in the mozilla.
sorry for my english
22 January 2011 at 7:48am
22 January 2011 at 8:58am Last edited: 18 February 2011 5:06am
I'm back... ))
In Mozilla Firefox:
$td.attr("class") is undefined
Uncaught exception: TypeError: Cannot convert '$td.attr('class')' to object
Error thrown at line 930, column 5 in <anonymous function: cellRender>($td, thisDate, month, year):
if(d.getTime() >= c.rangeStart.getTime() && d.getTime() <= c.rangeEnd.getTime() && !$td.attr('class').match('weekbutton'))
called from line 152, column 6 in <anonymous function: renderCalendar>(s):
s.renderCallback(d, currentDate, month, year);
called from line 965, column 4 in <anonymous function: _renderCalendar>():
called from line 878, column 4 in <anonymous function: display>(eleAlignTo):
called from line 622, column 5 in <anonymous function: init>(s):
called from line 276, column 5 in <anonymous function: datePicker>():
called from line 579, column 4 in <anonymous function: each>(object, callback, args):
for ( var value = object;
called via Function.prototype.call() from line 245, column 2 in <anonymous function: each>(callback, args):
return jQuery.each( this, callback, args );
called from line 255, column 3 in <anonymous function: datePicker>(s):
In Internet Explorer everything works without error.
26 March 2012 at 11:08am
I get this problem too. When viewing the calendar in google chrome using default theme Black calendar, the calendar widget is there.
But when I switch to my theme olivesunset - calendar in right block goes poof. Can only use the drop down boxes to find a date.
but yet with my theme olivesunset I can see it in IE but just not googlechrome. So I assume I have to add something to my theme to make the calendar display?
Like you I am new to SS too. Still learning.
|Go to Top|