Hello all!

I'm forging ahead, albeit slowly what with having a dayjob and all, with my
little gamesite, Carigamer.com

I'm now implmenting a simply News Archive viewing system, and have run into
a problem.


All the pages are included from the main page, default.cfm using the format
default.cfm?page=news/shownews.cfm

Which would display the shownews.cfm page within the layout and design of
the default.cfm page.

Sounds simple..it is. And it works really well to keep things together. I
just update the look on the default.cfm page and don't have to worry about
making changes to the look and feel on the content pages, or embedding
several CFINCLUDES on each individual page either.

However..I now have a slight problem.THe news archive page needs to have a
Variable passed to it..the ID of the news article that is to be read.

Of course http://www.carigamer.com/default.cfm?page=news/viewarchived?id=46
doesn't work...

Any neat ideas on how to pass this onto the next page?

The archivelist.cfm page is quite simply a grouped CFOUTPUT with simple HREF
strings with the ids embedded:
<a
href="default.cfm?page=news/newsviewer.cfm?RecordID=#allnews.id#">#allnews.h
eadline#</a>

Thanks,
-Gel



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to