22407 Posts in 6903 Topics by 2749 members
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|Go to End|
4 July 2009 at 12:30pm
I am very new to SS. Recently I want to create some elements like div on the front page from page.ss with plain js or prototype, I will encounter this error from LeftAndMain.js according to fire bug:
Object cannot be created in this context" code: "9 LeftAndMain.js line 882
(no name)()prototype.js (line 658)
these()prototype.js (line 196)
getTransport()prototype.js (line 659)
initialize("Security/ping", undefined)prototype.js (line 738)
create()prototype.js (line 25)
I know the LeftAndMain.js is system generated that I have not included it myself. However it is very annoying. So how can I get around this and be able to create elements myself such as dropdown menu, draggable div and etc ?
Many thanks in advance.
5 July 2009 at 11:43am
hei, i have the same issue too, any one got idea ?!
5 July 2009 at 12:40pm
i have included the following prototype library in page.php:
i can use prototype library on the front end without problems, but as soon as i add this line for scriptaculous:
Object cannot be created in this context" code: "9
have i done something wrong ? any advices ?
|Go to Top|