Is that really a strange way of doing it? I've been doing that for a long time... I usually use a folder name instead of file name, so instead of 1ins.cfm it would be ins/1.cfm although I usually also numberformat them, so it would actually be something like ins/001.cfm.
> Ok I think I solved this issue now... it's kind of a > strange way of doing it > but it works. > Basically I put my info that was in the database in to > some static pages and > then names them like 1ins.cfm. Where "1" corresponds with > the document ID in > the database. Then I just make the cfinlcude file dynamic > and apply the ID > to the beginning so it knows what page to pull. > ----------------- > 1ins.cfm > 2ins.cfm > 3ins.cfm > <cfoutput query="MEGA_NAV"> > <table width="100%" border="0" cellspacing="0" > cellpadding="2"> > <tr> > <td width="2%"> </td> > <td width="97%"><cfinclude > template="../content_pages/#MEGA_NAV.ID#ins.cfm"></td> > <td width="1%"> </td> > </tr> > <tr> > <td colspan="3"><hr width="98%" noshade></td> > </tr> > </table> > </cfoutput> > ----------------- > Well it's not pretty but its working. > - Neal > -----Original Message----- > From: Bailey, Neal [mailto:[EMAIL PROTECTED] > Sent: Friday, November 07, 2003 4:38 PM > To: '[EMAIL PROTECTED]' > Subject: RE: cfoutput? > Yeah I figured I was going to have to do something like > that. > Well maybe I am going at this the wrong way. > All I have are about 10 pages that have some dynamic links > on them. Maybe I > should make the pages static and then use the database to > pull the right > page via <cfinclude>. Would this make more sense? I guess > this is the same > as what you suggested but with out having to write it to a > file first. > Thanks, > - Neal > -----Original Message----- > From: Matthew Woodward [mailto:[EMAIL PROTECTED] > Sent: Friday, November 07, 2003 4:28 PM > To: [EMAIL PROTECTED] > Subject: Re: cfoutput? > If I understand what you're saying, I ran into this about > a year ago and the > admittedly kludgey solution I came up with was to pull the > code from the > database, write the code to a file, and then do an > include. Kind of ugly > but it worked. > Matt > ------------------------- > Matthew P. Woodward > [EMAIL PROTECTED] > ----Original Message Follows---- > From: "Bailey, Neal" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: cfoutput? > Date: Fri, 7 Nov 2003 16:08:14 -0600 > Ok here is another one for ya... > I have a bunch of html documents stored in my database and > in these > documents I need to run some ColdFusion code before it's > displayed. But > since I'm outputting the html using ColdFusion it will not > work. Is there > some other way of running my cf code before or after I > call it or something? > Hopes this makes sense... > Thanks, > - Neal > __________________________________________________________ > _______ > Great deals on high-speed Internet access as low as > $26.95. > https://broadband.msn.com (Prices may vary by service > area.) > ----------------------------------------------- > To post, send email to [EMAIL PROTECTED] > To unsubscribe: > Send UNSUBSCRIBE to [EMAIL PROTECTED] > To subscribe / unsubscribe: http://www.dfwcfug.org > ----------------------------------------------- > To post, send email to [EMAIL PROTECTED] > To unsubscribe: > Send UNSUBSCRIBE to [EMAIL PROTECTED] > To subscribe / unsubscribe: http://www.dfwcfug.org > ----------------------------------------------- > To post, send email to [EMAIL PROTECTED] > To unsubscribe: > Send UNSUBSCRIBE to [EMAIL PROTECTED] > To subscribe / unsubscribe: http://www.dfwcfug.org s. isaac dealey 972-490-6624 team macromedia volunteer http://www.macromedia.com/go/team chief architect, tapestry cms http://products.turnkey.to onTap is open source http://www.turnkey.to/ontap ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To unsubscribe: Send UNSUBSCRIBE to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org
