Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: css and js files not included

$
0
0
Re: css and js files not included
FoxInCloud
Re: css and js files not included
Dec. 7, 2012
05:42 am
3NU0C6TU8Show this entire thread in new window
Gratar Image based on email address
From:Thierry Nivelet (FoxInCloud)
To:
I believe you need to review pathes in ucsTest.ini, in your application's folder
especially
; -----
; SITE
; -----
...
ScriptPathPhysical=
; Physical path to FoxInCloud scripts
; leave empty to keep development standard: Home(1) + 'Tools\AB\AW\Scripts\'

ScriptPathVirtual=/awScripts/
; Virtual path to FoxInCloud scripts
; recommended value for development and production: '/awScripts/'

ScriptPathPhysical should be set to wherever you have installed the 'awScripts' folder, probably under inetpub\wwwroot.
this is the recommended location as multiple fic app can share the same /awScripts/ virtual directory


On our test machine, 'view source' on a FiC page shows several .css and .js links, but on the live web server we're setting up they do not appear.

Those that are missing on the web server version are all those in the awScripts directory:

<link type="text/css" rel="stylesheet" href="/awScripts/Window1.3/Themes/default.css" />
<link type="text/css" rel="stylesheet" href="/awScripts/Window1.3/Themes/all.css" />
<link type="text/css" rel="stylesheet" href="/awScripts/AW2.6.0/styles/system/aw.css" />
<link type="text/css" rel="stylesheet" href="/awScripts/Protofish/Protofish.css" />
<link type="text/css" rel="stylesheet" href="/awScripts/FoxInCloud.css" />

and

<script type="text/javascript" charset="utf-8" src="/awScripts/Prototype1.7.js"></script>
<script type="text/javascript" charset="utf-8" src="/awScripts/event.simulate.js"></script>
<script type="text/javascript" charset="utf-8" src="/awScripts/Scriptaculous1.9.0/scriptaculous.js?load=effects,dragdrop"></script>
<script type="text/javascript" charset="utf-8" src="/awScripts/Window1.3/window.js"></script>
<script type="text/javascript" charset="utf-8" src="/awScripts/Protofish/Protofish-min.js"></script>
<script type="text/javascript" charset="utf-8" src="/awScripts/SWFUpload/SWFUpload2.2.0.1.js"></script>
<script type="text/javascript" charset="utf-8" src="/awScripts/AW2.6.0/lib/aw.js"></script>
<script type="text/javascript" charset="utf-8" src="/awScripts/FoxInCloud.js"></script>

We initially missed uploading the asScripts directory to the web server, but we have now done so (as a regular directory under the site root rather than as a mapped directory like on the development machine.



-- thn (FoxInCloud)

HTML Help Builder

Viewing all articles
Browse latest Browse all 10393

Trending Articles