We just did exactly this. Because we only needed to fill a content area (menu and so on were provided by Dreamweaver Templates--not in our control), we simple stuck a <cfparam name="Fuseaction" default="Pollenflughomepage"> <cfmodule template="../../scripts/index.cfm" FuseAction="Fuseaction"> in the area left open for content. (On a side note, it was also our first foray into ColdFusion and Flash.) Check it out at http://www.mannpharma.de/heuschnupfen/pollenflug/index.cfm (German only) -----Original Message----- From: Ken Beard [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 22. Februar 2001 04:42 To: Fusebox Subject: Re: directory-friendly urls with a central index structure 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 <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED] > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
