The friendly urls looks like it might do what I want, however if I understand your other response, I would edit the templates normally and then manually move them over outside of the webroot so that farcry can use them?
The problem is that I will be setting this up for my self currently, but I might add other customers (in the future) that I would like to give this option to. They would need to notify me when they want to add those templates (more work for me). I could setup some kind of batch script or something to copy them over every night, but it should be automatic.
Thanks,
Geoff Bowers wrote:
Robert wrote:
How can I setup templates in my web root to display content and still let me use Farcry to manage and edit it? (I could rummage through the code for a few hours to find this out probably but I figure it's easier to ask first)
You'd still keep them in the folder outside of the webroot. Just edit them from there. You can preview your work by looking at a content item that is using your template through a separate URL.
As I understand how it works Farcry runs through the index.cfm page in the web root, it then goes out and checks if you provided a object ID in the URL. If the object id is there it checks the database to see what template it needs to pull (from Inetpub\applications\App Name\webskin) to display it.
Instead of always referencing /index.cfm I want to reference /products/index.cfm or /contactus/index.cfm
You would use Friendly URLs.
Search Engine Friendly URLs for CFMX http://blog.daemon.com.au/archives/000273.html
Friendly URLs http://farcry.daemon.com.au/go/downloads/farcry-plugins/friendly-urls
Hope that helps,
-- 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] Aussie Macromedia Developers: http://lists.daemon.com.au/
