Jaci Chesnes wrote:
So as it turns out what I want to do is extend dmNews rather than create
a totally custom type...Or are they one and the same.

Jaci,

A few months ago I posted (in the Farcry mailing list) a sort-of how-to about extending dmHTML. I'll repost it here (modified for dmNews). If you are not familiar with #1 below please refer to the following link:
http://farcry.daemon.com.au/go/objectid/2B8CC3BC-D0B7-4CD6-F9525292C5BC6A4E


Good luck.

=============

A simple step-by-step for extending dmNews (can be used for other types like dmHTML). Add as many PLP steps as you'd like (refer to #5 below).

1. Create <appname>/packages/system/dmHTML.cfc
(add the fields you need. Don't forget to apply them in admin--COAPI--types).


2. Create the following directories
<appname>/packages/system/_dmNews
<appname>/packages/system/_dmNews/plpEdit

3. Create your extra step file in <appname>/packages/system/_dmNews/plpEdit
(In this example I call it extrastep.cfm)

4. Copy the file /farcry_core/packages/types/_dmnews/edit.cfm into <appname>/packages/system/_dmNews

5. modify your new copy of edit.cfm and add the following plp step:
(and place it in the opder you want it to appear)
<farcry:plpstep
name="extrastep"
Stepdir="farcry/#application.applicationname#/packages/system/_dmNews/plpEdit/"
template="extrastep.cfm">

----------

For more information on PLPs please refer to the following links:

PLPs Demystified
http://farcry.daemon.com.au/index.cfm?objectid=4DAC2D01-D0B7-4CD6-F96528F46FE63ACF

Conditional PLPS
http://farcry.daemon.com.au/index.cfm?objectid=7FD51BC6-D0B7-4CD6-F9C0D0EEDCAC8DBB

-Jeff C.

---
You are currently subscribed to farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to