Hi. This is my first post so please be gentle.
I'm using sIFR on SS2.4 and it all works sweet. I've created a custom gallery style page that utilises the FileDataObjectManager and that all works sweet to.
But they don't work so well together. For some reason SIFR drops off and won't display.
I've hard coded the js into the ss file like so which works well with other projects I've done.
<script type="text/javascript" src="mysite/javascript/lightbox/prototype.js"></script>
<script type="text/javascript" src="mysite/javascript/lightbox/scriptaculous.js"></script>
<script type="text/javascript" src="mysite/javascript/lightbox/lightbox.js"></script>
<link href="/themes/kmcolour/css/lightbox.css" rel="stylesheet" type="text/css" media="screen" / >
and added the appropriate Requirements::block to the php file like so.
public function init() {
parent::init();
Requirements::block('sapphire/thirdparty/jquery/jquery.js');
Requirements::block('userforms/thirdparty/jquery-validate/jquery.validate.min.js');
Validator::set_javascript_validation_handler('none');
}
But together they just don't get on. Especially the top group. When I remove the js sIFR works fine but of course lightbox don't work
Has anyone come across this before?
Should I be blocking anything else? Any help would be much appreciated.
Forgot to mention how kick arse silverstripe is.
It's made CMS and design translation so easy, coming from a design perspective.
Cheers