conor:
Hi,
Make sure it is defined BEFORE the elements which load the JavaScript files or it won't have any effect.
It's not a problem with Ceon URI Mapping so Fual Slimbox possibly is broken.. I forgot about that post and never did get around to fixing other people's modules.
I've even less time these days so definitely won't be doing it now! :)
Follow all the instructions in the Ceon URI Mapping FAQs and if that's not enough, you should pay someone with PHP skills to help you.
All the best..
Conor
ceon
Thanks.
Been going over the FAQs related to this, but I cannot find the issue.
I am beginning to think that it is not a slimbox issue.
I see errors for other .js files as well where the category is prepended to the path.
"GET /light-communication/includes/templates/bask_black/jscript/jquery.js HTTP/1.0" 404
When I check the page source I see the <base href> defined before the javascript.
<base href="http://www.mydomain.com/"/>
<link rel="canonical" href="http://www.mydomain.com/light-communication/12-hour-emergency-bright-stick"/>
CSS/JS is defined properly:
<link rel="stylesheet" type="text/css" href="includes/templates/bask_black/css/stylesheet.css"/>
<link rel="stylesheet" type="text/css" href="includes/templates/bask_black/css/stylesheet_categories_menu.css"/>
<link rel="stylesheet" type="text/css" href="includes/templates/bask_black/css/stylesheet_default.css"/>
<link rel="stylesheet" type="text/css" href="includes/templates/bask_black/css/stylesheet_dropshadow.css"/>
<link rel="stylesheet" type="text/css" href="includes/templates/bask_black/css/stylesheet_nivo-slider.css"/>
<link rel="stylesheet" type="text/css" href="includes/templates/bask_black/css/stylesheet_slimbox_ex.css"/>
<script type="text/djs" data-djssrc="includes/templates/bask_black/jscript/jscript_jquery.js"></script>
<script type="text/djs" data-djssrc="includes/modules/pages/product_info/jscript_textarea_counter.js"></script>
<script type="text/djs" data-djssrc="includes/templates/bask_black/jscript/jquery.js"></script>
<script type="text/djs" data-djssrc="includes/templates/bask_black/jscript/instantSearch.js"></script
rewrite directives in vhost conf:
RewriteEngine On
Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]
Don't rewrite any URIs for some, popular specific file format extensions,
which are not covered by main file extension condition above
RewriteCond %{REQUEST_URI} !.(mp3|mp4|h264)$ [NC]
Don't rewrite any URIs for some specific file format extensions,
which are not covered by main file extension condition above
Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
#RewriteCond %{REQUEST_URI} !.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin-XXXXXXXXXXXX [NC]
Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors/ [NC]
Handle all other URIs using Zen Cart (its index.php)
RewriteRule .* /index.php [QSA,L]