
Bootstrap css files missing
Reported by Andres Urrea | July 19th, 2014 @ 05:19 PM | in User issues
Hi,the files bootstrap.css and responsive.css disappear when the url has more parameters that only the domain, for example:
the path of this files are like this,
if I am on the index page the files are loaded correctly, but if i move for example to the navigation manage the url of the site change to this:
http://domain.com/navigation/manage
what causes that the files not been loaded, because the path of this files be something like this:
http://domain.com/navigation/manage/external/bootstrap/css/bootstra...
y should be something like this:
http://domain.com/external/bootstrap/css/bootstrap.css
This causes that the administration looks terrible without this css files.
I think maybe is a bug?
Thanks
Comments and changes to this ticket
-
Andres Urrea July 19th, 2014 @ 05:20 PM
the path of the files are:
href="external/bootstrap/css/bootstrap.css" href="external/bootstrap/css/responsive.css"
-
-
dleffler July 19th, 2014 @ 06:41 PM
The proper method for getting 'bootstrap' files to load is to use the 'framework'=>'bootstrap' parameter in the expTheme::head() call within the theme/subtheme template. This will ensure that bootstrap & jquery are loaded on each page. They should NEVER be specifically loaded in a theme/subtheme template or a view template. http://docs.exponentcms.org/docs/2.2.3/header-info
-
dleffler July 19th, 2014 @ 07:12 PM
...and fwiw, if you run into this with some other stylesheets, it needs to be a full path (begins with a slash /) instead of a relative path (doesn't begin with a slash)
-
-
-
-
dleffler January 1st, 2016 @ 01:52 PM
- Assigned user cleared.
- Milestone changed from 2.3.8 to User issues
-
-
dleffler June 3rd, 2016 @ 11:21 AM
- Milestone set to User issues
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS