beautypg.com

Add a tag to tag chooser – Adobe Extending Dreamweaver CS4 User Manual

Page 217

background image

211

EXTENDING DREAMWEAVER CS4

Tag libraries and editors




Zip Code:

style="width:100px"0/> 

Type:



Next, you’ll verify that the tag editor is working.

2

Launch Dreamweaver.

3

Type cfweather in Code view.

4

Right-click on the tag.

5

Select Edit Tag

cfweather

from the Context menu.

If the tag editor launches, it has been created successfully.

Add a tag to Tag Chooser

1

Modify the TagChooser.xml file in the Configuration/TagLibraries/CFML folder by adding a new category called
Third Party Tags, which features the

cfweather

tag, as shown in the following example:

Note: On multiuser platforms, the TagChooser.xml file also exists in the user’s Configuration folder. For more
information regarding multiuser platforms, see the discussion in “

Registering the tag in the tag library

” on page

208.

Next, you’ll verify the

cfweather

tag now appears in the Tag Chooser.

2

Select Insert > Tag.

3

Expand the CFML Tags group.

4

Select the Third Party Tags group that appears at the bottom of the Tag Chooser. The

cfweather

tag appears in the

list box on the right.

5

Select

cfweather

, and click the Insert button.

The tag editor should appear.

This manual is related to the following products: