Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

popup on front end


Go to End


1549 Views

Avatar
cardinale

Community Member, 23 Posts

1 April 2010 at 1:07am

Hallo,
I'm using DOM on the front end without JS. How to clear all default DOM Requirements::javascript. I want use the Facebox Popup on the frontend and I think it don't work with the default Requirements.

Requirements::css('dataobject_manager/css/dataobject_manager.css');
Requirements::css('dataobject_manager/css/facebox.css');
if(self::$allow_css_override)
Requirements::css('dataobject_manager/css/dataobjectmanager_override.css');
Requirements::javascript($this->BaseHref().'dataobject_manager/javascript/facebox.js');
Requirements::javascript($this->BaseHref().'dataobject_manager/javascript/jquery-ui-1.6.js');
Requirements::javascript($this->BaseHref().'dataobject_manager/javascript/dataobject_manager.js');
Requirements::javascript($this->BaseHref().'dataobject_manager/javascript/tooltip.js');