Hi Everyone!
Im working on site that was built in Silverstripe, which I havent used before. They have a search box on one page (where it works fine, no errors) and they want it on another, I found the chunk of code which is simple enough -
<div class="searchForm">
$SearchForm
</div>
I thought perhaps a simple copy paste would work, pasting it onto the other page they want it on, but no luck.
I'm getting the following console errors -
Uncaught TypeError: Cannot read property 'SelectorsAPI' of undefined
Enumerable.each - prototype.js:345
breakoutCarousel - main.js:19
(anonymous function) - main.js:231
responder - prototype.js:4459
fire - prototype.js:4620
_methodized - prototype.js:339
fireContentLoadedEvent - prototype.js:4668
I expect some javascript is not being called which si why selectorsAPI is not being found, but i have checked and made sure all the same javascript is being called and still get this problem.
Does anyone have any idea what it might be?
Hope you can help! :D