I have all of my links in a dsp_links.cfm template, so changing them to
point to a static page is no problem.

I guess you could set variables for links (request.link.myhomepage =
index.html), but I like the above better.

I just did this on Monday.  As time goes on, and more ideas run through my
brain, I'll probably add more to it.  'Till then, keep the ideas rollin'!

Brad

> -----Original Message-----
> From: David Huyck [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 18, 2001 4:54 PM
> To: Fusebox
> Subject: Re: Handling Static and Dynamic Pages
>
>
> Brad--
>
> How do you handle links within the page you just parsed?  I was thinking
> about this, and all of your internal links need to be mapped to new static
> pages if you want to actually use the static pages instead of one static
> page that immediately links to all the dynamic pages...
>
> I think that is a cool idea, though.  I'll be interested to see where it
> goes.
>
> David Huyck
> [EMAIL PROTECTED]
>
> | Just pass it a url with a fuseaction and the document name, like:
> | http//mysite.com/createhtmldoc.cfm?fa=homepage&docname=index.html
> |
> | Instantly I have an html page with all the whitespace stripped out.
> |
> | <!--------------- CreateHtmlDoc.cfm --------------->
> |
> | <cfinclude template="globals/appfiles/app_globals.cfm">
> | <cfparam name="form.docname">
> | <cfparam name="form.fa">
> |
> | <cf_stripwhitespace>
> | <cfinclude template="#request.self#"><!--- Inlclude index.cfm --->
> | </cf_stripwhitespace>
> |
> | <cffile action="write" file="#request.physmap.root#\#form.docname#"
> | output="#request.strippedoutput#">
> | <cflocation url="#request.webmap.root#/#form.docname#">
> |
> | <!--------------- End CreateHtmlDoc.cfm --------------->
> |
> | Alan, I thought I send this directly to you since you mentioned this
> | earlier.
> |
> | Brad
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to