10979 Posts in 2722 Topics by 1815 members
Page: 1 2
|Go to End|
5 May 2009 at 8:24am Last edited: 5 May 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 Calendar.ss file..
5 May 2009 at 8:45am
Can you check the difference on how the other modules are including requirements versus the event calendar?
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).
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 page.ss fires, it includes a new base_href, title, meta tags, etc..
I *had* previously amended the page.ss so that it omitted the doctype, html and head tags, so that these would not appear half way down my page when page.ss ran...
When I run the site with the original page.ss, 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
7 May 2009 at 7:18am
You need to modify your htaccess file. Change the RewriteBase from / to /Silverstripe
7 May 2009 at 7:25am Last edited: 7 May 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.
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 !
** PROBLEM HACKINGLY SOLVED **
Yep, that did it moving the main site files into the SilverStripe directory and using the original page.ss with the base href in.
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 CalendarWidget.ss with the relative link to the root/jsparty file
29 May 2011 at 6:01am
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?
Page: 1 2
|Go to Top|