Hi Murray, Welcome aboard!

> I can see that the application.url.webroot = "" in _ServerSpecificVars.cfm.
> As a test I set it directly to "
http://localhost/farcry_test1
" which didnt work.

The value of 'application.url.webroot' is (conveniently) set for you by the install process - this value should be the path from the root of your site (i.e. /farcry_test1). You shouldn't need to change this value unless you change the name of the virtual dir. or re-point the home directory of your site.

> How do I configure it so that my styles and js showup ?
 
Some of the <link> and <script> tags in the mollio webskin [1] assume that your FarCry site is going to be served up from the root of your site - if this is not the case you will need to modify some of the webskin files from the standard mollio template (this is separate from running any other the FarCry updates). These templates are housed within your FarCry project's folder not the farcry_core.
 
The specific modifications required are:

{your_FarCry_project_folder}/webskin/includes/dmHeader.cfm (Line 24 to 29):

<link rel="stylesheet" type="text/css" href="" media="screen" />
<link rel="stylesheet" type="text/css" href="" media="print" />
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="" />
<![endif]-->
<script type="text/_javascript_" src=""></script>

Append application.url.webroot to the paths, i.e.:

<link rel="stylesheet" type="text/css" href="" media="screen" />
<link rel="stylesheet" type="text/css" href="" media="print" />
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="" />
<![endif]-->
<script type="text/_javascript_" src=""></script>

You could have used the name of the virtual dir. instead of the variable but using the application.url.webroot is altogether a more flexible and maintainable option.

Cheers

David
 
[1] http://docs.farcrycms.org:8080/confluence/display/FCDEV30/Webskins


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of murrah
Sent: Sunday, 13 August 2006 8:16 AM
To: farcry-dev
Subject: [farcry-dev] Re: Mollio styles not showing up


Hi.

>Are you running site from webroot or a virtual dir.?

>If it's a virtual have a look at:
http://bugs.farcrycms.org:8080/browse/FC-594

I too am having the "no styles" problem on a virtual dir. I am brand new to FarCry. Installed then ran the updates as directed. All works properly except that my test web site has no styles. I read the support ticket referred to above but it didnt seem to say exactly how to fix the problem.

I can see that the application.url.webroot = "" in _ServerSpecificVars.cfm.

As a test I set it directly to "http://localhost/farcry_test1" which didnt work.

How do I configure it so that my styles and js showup ?

Cheers,
Murray



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/farcry-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to