Archive of:
Fusebox
Cold Fusion Fuse Box List
home
24 hour view
quick stats
weekly updates
all tallylists
corporate solutions
archive your favorite
help / feedback
About CF Fusebox Methods :
product's home
product's list home
|
|
Archived TallyList / Fusebox:
Subject: Re: directory-friendly urls with a central index structure
Ken Beard (14p/+0r) Posted: Wednesday 21 Feb 2001 This post: 116 views, +0 rating
ok, the fuseaction bit would have to be a couple of if's about form/url variables, since formurl2attributes wouldn't have been run yet.
--- Ken Beard {anon_tyrant@yahoo.com> wrote: > scenario: > 1. client want to be able to tell people "go to > www.whatever.com/products/ to see my stuff" and have > them see that directory consistently in the url > 2. you want to do one central index with dot > notation > fuseactions > > solution: > make an application.cfm in the /products/ directory > with the following lines > <cfset request.self=cgi.path_info&"index.cfm"> > <cfparam name="attributes.fuseaction" > default="products.mainpage"> > <cfinclude template="../index.cfm"> > <cfabort> > > > not sure if i got that cgi var right, but this > should > work, no? > > ===== > Ken Beard > cfug manager > Tampa, FL > anon_tyrant@yahoo.com > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/fusebox@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Similar Subject Line Posts (+/- two weeks of this post)
| Send a reply to the Fusebox list! |
 |
NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!) |
|