CSS is messing up my website

tlweb
tlweb
Offline
0
Hi,
i want to disable your css that is loaded in the month view. What is best way to do this without doing any core hacks?

This should really be a setting in your component just like every one elses components...

Kind regards,
Tom

Accepted Answer

Monday, April 09 2018, 01:28 PM - #Permalink
0
hi

as mentioned there's no switch to turn this on/off on the current version. the only way is to remove this line.
and, as mentioned, the next version will include this switch, so it won't matter if the "hack" is overridden, because there will be an option command.
The reply is currently minimized Show
Responses (8)
  • Accepted Answer

    Monday, April 09 2018, 01:25 PM - #Permalink
    0
    hello

    this is probably the Bootstrap CSS being loaded. at the moment there's no selector to turn this off (we are adding this on the next version)
    but for now you can just open file:
    /components/com_calendarplanner/calendarplanner.php
    and remove this line (40):

    $document->addStyleSheet("media/jui/css/bootstrap.min.css");
    The reply is currently minimized Show
  • Accepted Answer

    tlweb
    tlweb
    Offline
    Monday, April 09 2018, 01:26 PM - #Permalink
    0
    Yes but when i update that will get overridden. Please suggest a NON CORE HACK to fix this issue.
    The reply is currently minimized Show
  • Accepted Answer

    tlweb
    tlweb
    Offline
    Monday, April 09 2018, 01:29 PM - #Permalink
    0
    Sorry i missed the comment about the next version. Thanks!
    The reply is currently minimized Show
  • Accepted Answer

    tlweb
    tlweb
    Offline
    Monday, April 09 2018, 01:51 PM - #Permalink
    0
    Will the new version have Bootstrap 3 support? I see it's still BS2. That stuff ancient. Also what is the ETA on the update?

    Kind regards,
    Tom
    The reply is currently minimized Show
  • Accepted Answer

    Monday, April 09 2018, 01:54 PM - #Permalink
    0
    hi

    yes, the new version will have BS3 (that's one of the main reasons for the new version)
    we don't have an ETA but I hope it will be within the next couple months.
    The reply is currently minimized Show
  • Accepted Answer

    tlweb
    tlweb
    Offline
    Monday, April 09 2018, 01:55 PM - #Permalink
    0
    Cool. Too bad it'll take so long. Client site is going live in couple of weeks. Will have to make it look half decent then for now Thanks for quick reply and all the info!
    The reply is currently minimized Show
  • Accepted Answer

    Monday, April 09 2018, 01:56 PM - #Permalink
    0
    If we have something useful before that time, I'll let you know so you can use it.
    The reply is currently minimized Show
  • Accepted Answer

    tlweb
    tlweb
    Offline
    Monday, April 09 2018, 01:56 PM - #Permalink
    0
    Awesome! :D :D
    The reply is currently minimized Show
Your Reply