Jump to:

10931 Posts in 2614 Topics by 1810 members

All other Modules

SilverStripe Forums » All other Modules » Event Calendar CSS

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 3807 Views
  • markotondria
    Avatar
    Community Member
    13 Posts

    Event Calendar CSS Link to this post

    Hi !
    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 ?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar CSS Link to this post

    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.

  • markotondria
    Avatar
    Community Member
    13 Posts

    Re: Event Calendar CSS Link to this post

    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.

    update..
    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar CSS Link to this post

    Can you try navigating directly to the CSS file in your browser? Do you have a base tag on your template?

  • markotondria
    Avatar
    Community Member
    13 Posts

    Re: Event Calendar CSS Link to this post

    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.

    Bests,
    Mike

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar CSS Link to this post

    Hi, Mike,

    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.

  • markotondria
    Avatar
    Community Member
    13 Posts

    Re: Event Calendar CSS Link to this post

    Hey UC..

    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 ?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar CSS Link to this post

    That is probably what is making the difference. What does your base tag say? Do you have any other modules installed and working?

    3807 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.