Quentin Zervaas wrote:
The first is regarding friendly URLs. This one is simple... an extra field
should be added to config called something like 'suffix', which allows you
to enter static text that will appear behind a friendly url.

For example, you could specify "/index.cfm" as the suffix text, and rather
than creating friendly urls such as "myhost/my-item/my-sub-item" it would be
"myhost/my-item/my-sub-item/index.cfm" (or you could just specify the suffix
as ".cfm". This would be a nice fix for IIS setups that don't pickup the
friendly urls without an extension, without needing to manally edit the
friendlyurls.txt file.

If you want to add this yourself without it being integrated into FarCry at
this stage, do the following:
 - add <var name='SUFFIX'><string>/index.cfm</string></var> into the wConfig
field for FUSettings (select * from config where configname = 'fusettings';)
 - Run updateApp=1
 - Modify line 131 of farcry_core\packages\farcry\fu.cfc to something like:
   <cfset breadCrumb = replace(breadCrumb,' ','-',"all") &
application.config.fusettings.suffix>

Then reset all your friendly URLs within farcry and you're good to go. Note
that if you 'restore default configuration' you'll lose the change in your
config, so maybe add the following to
farcry_core\packages\farcry\_config\defaultFU.cfm at about line 8:
  stConfig.suffix = "/index.cfm";

Yep.. this is prolly a very good idea. If someone can workout why IIS sometimes sets up the servlet properly and other times doesn't that would also help. In any event, have added this to the mod list for the next build.


-- geoff
http://www.daemon.com.au/



---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to