I have event_calendar (r35) installed and when I go to one of the event calendar pages it seems as if the calendar css files are not being included, and also where the nice calendar selector should be, is just the word 'loading'.
Ive done a ?flush=1.
Any pointers ?
Make sure the folder is named "event_calendar" and it is in your silverstripe root. I recommend using the SVN in lieu of the download because I haven't updated the ZIP file in a while.
The folder is indeed named event_calendar - Funny thing is, whilst looking around for an event calendar, I'd downloaded the one from the blue.. website and that actually had the css including properly, but did not have even a space for the nice calendar widget thingy, so I got the zip from this site.
I'll svn another version and let you know how it goes. Thanks again.
Bah, no - still have some 'foldering' issues - its not looking in the right place for the css and other files - what should my base href etc be ? and what other might I do ?
The module shows up fine in the cms and 'works' apart from not looking in the right place for includes, etc
Can you try navigating directly to the CSS file in your browser? Do you have a base tag on your template?
Hey UncleCheese - Thanks for your response...
I can access the css file if I got there directly, yes..
Let me outline a little more how I've got SS set up..
I have a page that needs to remain static, this is my main site page, and on it is a content div..
I have ajaxing magic to retrieve the urls of my SS install and pipe it into the content div..There is no base href on this page.
Even however, when I go to the ss generated url directly, I get the problem of the content not being styled correctly, and I am assuming that this is because the stylesheet is never being called. Also, the (jQuery is it ?) calender does not appear, so I think any include/requires in the calendar stuff is not grabbing the jquery calendar chooser from the right place..
eg, I have created a new calendar in the cms, but when I point my browser to it, it appears unstyled and without the nice date selector widget.
What are your thoughts ?
I am not entirely sure I'd got rid of my previous event_calendar installation as some of my event entry names reappeared when I installed the latest svn version - can you quickly let me know what exactly I need to do for a totally fresh, uncached install, sir ? :)
Thanks again, I honestly appreciate you taking the time to help here.
Can you try going into the core classes and changing the paths for the requirements? Something's gotta work eventually. Is silverstripe installed in your web root? Check permissions, maybe? I can only guess, here. I would just try a variety of combinations -- including the web root in the path, adding/removing the leading slash, etc.
Do the requirements appear in the markup? If they do, it means the path is correct, but the file is just not readable.
Let me know the fix if you find it.
Actually no, the SilverStripe is NOT installed in root, its in a /folder/ ..I am having to dev the site in this folder, then will have to xfer to another domain (on the same box)...would this make a great difference ?
That is probably what is making the difference. What does your base tag say? Do you have any other modules installed and working?