Jump to:

10928 Posts in 2612 Topics by 1809 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: 3799 Views
  • markotondria
    Avatar
    Community Member
    13 Posts

    Re: Event Calendar CSS Link to this post

    well, thats the thing - other modules ARE working ok, blog, forum etc..
    The base_tag is
    mydevdomain.com/mydevfolder/SilverStripe

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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar CSS Link to this post

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

  • markotondria
    Avatar
    Community Member
    13 Posts

    Re: Event Calendar CSS Link to this post

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

  • markotondria
    Avatar
    Community Member
    13 Posts

    Re: Event Calendar CSS Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar CSS Link to this post

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

  • markotondria
    Avatar
    Community Member
    13 Posts

    Re: Event Calendar CSS Link to this post

    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 !
    /\\

    ** 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.
    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. http://coolwebdeveloper.com/2009/01/null-object-errors-using-jquery-javascript-library/ provided a fix.

  • a-tech
    Avatar
    Community Member
    39 Posts

    Re: Event Calendar CSS Link to this post

    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

    ie

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

  • tchintchie
    Avatar
    Community Member
    63 Posts

    Re: Event Calendar CSS Link to this post

    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?

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