with our sites when we have sections of HTML that wont be or would be
IMPRACTICAL to make a fuseaction for each i have under each app i have a
HTML directory where i store html or static CFM files. I set this in my
APP_GLOBALS to check to see if they can get through without hitting a
fuseaction but doing the below code.



<!--- SETUP DIRECTORY VARS --->
<cfset temp=#getDirectoryFromPath(gettemplatepath())#>
<Cfset temp1=listgetat("#temp#",5,'/')>

<!--- IS THE CURRENT DIRECTORY more then 6 Directories deep
ie. /home/httpd/html/dev/aeps/html/ <~~7 --->

<cfif listlen(#temp#,'/') gt "6">
        <!--- Gets the Next Directory Deep ie /html/  --->
        <Cfset temp2=listgetat("#temp#",6,'/')>


        <cfif #temp1# is "aeps" and #temp2# is "html">
        <!--- IF ITS HTML then let them through --->

-----Original Message-----
From: Michel Vuijlsteke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 26, 2000 1:21 PM
To: CF-Talk
Subject: practical fusebox questions


I have two quick Fusebox questions:

1) Is there a "correct" technique to change the lay-out depending on the
section a user is in? Me, I'd add a <cfswitch expression="#currentdir#> to
the app_layout.cfm to change what needs to be changed (colours, adding a
secondary menu, ...) but I'm not sure.

2) I have a number of sites where non-programmers contribute entire sections
(html or trivial cfml, images, in existing or new directories). An
administrator assigns the new content to a section and to a specific menu
item. Different seciont can have different lay-outs, and whole sections or
specific menu items have an n-to-n relation with users and/or user groups.
ColdFusion manages the whole menu structure and access thing.
How do I do this in Fusebox? We're talking sites with hundreds of
contributors, thousands of users/user groups, a mixture of
static-pages-with-CF-generated-menus (all interlinked with plain links -- no
fuseactions in sight), common website functions (news, jobs, publications,
.....) and specific CF applications (work flows, database interfaces, ...).

Anyone?

Michel Vuijlsteke
Netpoint NV
~~~~~~~~~~~~~ Paid Sponsorship ~~~~~~~~~~~~~
Get Your Own Dedicated Win2K Server!  Instant Activation for $99/month w/Free Setup 
from SoloServer  PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support  Visit 
SoloServer, https://secure.irides.com/clientsetup.cfm.

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to