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:

All other Modules /

Discuss all other Modules here.

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

Event Calendar CSS

Go to End

16 Posts   5078 Views


Community Member, 13 Posts

5 May 2009 at 8:24am

Edited: 05/05/2009 8:40am

well, thats the thing - other modules ARE working ok, blog, forum etc..
The base_tag is

and when I view the output on the event calendar page, the module output begins at
<!-- Primary Content added to fit BHG framework-->

and I can't see any evidence of require statements that are there in the file..


Forum Moderator, 4102 Posts

5 May 2009 at 8:45am

Can you check the difference on how the other modules are including requirements versus the event calendar?


Community Member, 13 Posts

5 May 2009 at 9:22am

Hrm, it would appear that the blog and forum modules are styled with the blackcandy default template (which is fine for what I need).
Using the Live HTTP headers firefox addon, I can't even see that the javascript and css are even being requested from the server...
Very odd.,.


Community Member, 13 Posts

7 May 2009 at 7:13am

ok, well I think I'm a little clearer as to what's going on, but would warmly appreciate any pointers as to a fix:

>Since the last posts I have transferred all into some new space, where SilverStripe/ is in the root. Other issues have been smoothed out by doing this..

The problem is that I am pulling the whole page though some ajax and putting it into a 'content' div, that sits below my main page header, etc..
So when the fires, it includes a new base_href, title, meta tags, etc..
I *had* previously amended the so that it omitted the doctype, html and head tags, so that these would not appear half way down my page when ran...
When I run the site with the original, then viewing it outside of my content-div holding set up, event-calendar works fine.
Running it through the content page set up however causes some very odd things to happen, such as messing with js on the original page (actually causing an IDd element to be 'null', and breaking the script that populates the content-div in the 1st place :/ ).

Although this is now more than an event_calendar-specific problem, do you have any ideas on how I can solve my base_href problem, short of moving everything into my SilverStripe folder ?

Thanks as ever, Mike :)


Forum Moderator, 4102 Posts

7 May 2009 at 7:18am

You need to modify your htaccess file. Change the RewriteBase from / to /Silverstripe


Community Member, 13 Posts

7 May 2009 at 7:25am

Edited: 07/05/2009 8:45am

lol, thats exactly what I would have told someone had they detailed the same problem as I have :)..

the RewriteBase currently IS "/SilverStripe"
Funny thing is, it does seem the work apart from screwing up my js on the main page.
Im even src'ing the javascript with the full url as to side-step any base/redirect issues.. :(

My deadline for this somewhat not-unknown client is drawing near and Im still on a very steep part of the SilverStripe learning curve..

At the moment, I'm trying to load all my root files into the SilverStripe folder, then run the main site from there. Hopefully this might nix any further base issues - sound like a plan ?

Thanks again for your quick reponses - I feel kinda lost and a little overwhelmed with ss at the moment, I do appreciate your being there !

Yep, that did it moving the main site files into the SilverStripe directory and using the original with the base href in.
The javascript breaking was because the jQuery I was using to ajax the silverstripe content into my main page was conflicting with the jQuery libraries invoked when the ss content reached the page. provided a fix.


Community Member, 39 Posts

25 November 2009 at 12:05pm

Yeah I just had this problem, and it was due to a conflict with the Jquery script being called by calendarwidget and that of my base page.

I just replaced the first line in with the relative link to the root/jsparty file


<% require javascript(jsparty/jquery/jquery-packed.js) %>


Community Member, 63 Posts

29 May 2011 at 6:01am

hi all!

I´m running the event calendar and works perfectly. Only thing is I´d like to change the size of it´s headlines and <p> tags because somehow they´re so terribly small and our major users are retirees!!! ;-)
I checked the calendar.css and found some font-size definitions but nothing for the <p> tag (talking about event description btw). Can anyone tell me where to find the corresponding css lines or do I have to set new ones?

Go to Top