Open exponentcms opened 4 years ago
the path of the files are:
href="external/bootstrap/css/bootstrap.css" href="external/bootstrap/css/responsive.css"
Versión exponent : 2.2.3 patch4
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
...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)
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/bootstrap.css
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