|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
building navigation using ColdFusion custom tags
i've never used many custom tags before but I am currently tasked to take a dreamweaver HTML site using 4 navigation links and convert this into a site using a cold fusion custom tag for the navigation and content.mike pop 05/19/09 04:53 A You could just use a cfinclude if a custom tag is too confusing.James Holmes 05/19/09 05:19 A I agree with James - CF Includes are probably a better option.John Drake 05/19/09 10:46 A >>Create header, footer, and navigation templates from the existing html,Gerald Guido 05/19/09 12:15 P I have a custom tag for creating a menu items if you are interested inGerald Guido 05/19/09 12:27 P Opps... wrong url for how to use itGerald Guido 05/19/09 12:28 P i've never used many custom tags before but I am currently tasked to take a dreamweaver HTML site using 4 navigation links and convert this into a site using a cold fusion custom tag for the navigation and content. the 4 navigation links go to different subdirectories and different files (right now they are HTML files). I've seen a few tutorials on using custom tags with the thistag.executionmode but I am very confused as to how to convert this dreamweaver navigation with 4 links into a cold fusion custom tag navigation system. I can't seem to find any examples or tutorials on this specific task. The user clicks a link and is redirected to a page. I just dont understand how to use a custom tag to complete this objective. Please help me. You could just use a cfinclude if a custom tag is too confusing. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ----- Excess quoted text cut - see Original Post for more ----- I agree with James - CF Includes are probably a better option. Create header, footer, and navigation templates from the existing html, and then do CFincludes on each web page to bring them in. >>Create header, footer, and navigation templates from the existing html, and then do CFincludes on each web page to bring them in. Correct. G! On Tue, May 19, 2009 at 10:40 AM, John Drake <thedangerman007@yahoo.com>wrote: ----- Excess quoted text cut - see Original Post for more ----- I have a custom tag for creating a menu items if you are interested in looking the code. This is the code for the tag (save as MenuItem.cfm) http://coz.pastebin.com/f17f1392a And this is how to use it. http://coz.pastebin.com/f17f1392a The beauty of custom tags is that you can create one piece of code for all of your menu items and if you ever need to make a global change you only have to change it in one place (Much like an include file). G! On Tue, May 19, 2009 at 10:40 AM, John Drake <thedangerman007@yahoo.com>wrote: ----- Excess quoted text cut - see Original Post for more ----- Opps... wrong url for how to use it And this is how to use it. http://coz.pastebin.com/f1e851a0 G! On Tue, May 19, 2009 at 12:26 PM, Gerald Guido <gerald.guido@gmail.com>wrote: ----- Excess quoted text cut - see Original Post for more -----
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||