Hi,

I have two suggestions which I think would be useful if they made their way
into FarCry.

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";


My other suggestion is to add an option to the config area of farcry, to
allow easy addition of config fields to a configuration. obviously this
won't be reflected in the "default settings" for the config, but it's a bit
of a hassle to manually hack the wddx packet as I had to do for this
friendly urls mod.

Cheers


--

Quentin Zervaas
Web Developer

MITOUSA.
Web + Interface Architects

E:// [EMAIL PROTECTED]
W:// www.mitousa.com


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

Reply via email to