The third level web pages in the website hierarchy has no css when using Pretty Urls. I have followed the instructions given on CMSMS support pages ie added this to config
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['use_hierarchy'] = true;
and added the .htaccess file
The first level pages and second level render perfectly however the third level doesn't.
Does anyone have a solution to this?
regards
Anthony
For reference the url is http://www.aandcbolton.uk
Issue with Pretty Urls
Re: Issue with Pretty Urls
You should let CMSMS manage the stylesheets, which usually has several benefits, instead of what you have.
However if you really want to keep it as you have now, you need absolute urls instead of relative ones.
However if you really want to keep it as you have now, you need absolute urls instead of relative ones.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Issue with Pretty Urls
If you're going make those links absolute be smart and use {root_url} tag.
E.g.:
E.g.:
Code: Select all
<link rel="stylesheet" href="{root_url}/css/style.css">
<__script__ type="text/javascript" src="{root_url}/js/jquery.flow.1.0.min.js"></__script>
Re: Issue with Pretty Urls
Thanks for the help all resolved now.
regards Anthony
regards Anthony