Registering the tag in the tag library
For Dreamweaver to recognize the new tag, it must be identified in the TagLibraries.vtm file,
which is located in the Configuration/TagLibraries folder. However, if the user is on multiuser
platform (such as Windows XP, Windows 2000, Windows NT, or Mac OS X), the user has
another TagLibraries.vtm file in their user Configuration folder. This file is the one that needs to
be updated because this file is the instance that Dreamweaver searches for and parses.
The location of the user's Configuration folder depends on the user's platform.
For Windows 2000 and Windows XP platforms:
<drive>:\Documents and Settings\<username>\ ¬
Application Data\Macromedia\Dreamweaver MX 2004\Configuration
Note: In Windows XP, this folder may be inside a hidden folder.
For Mac OS X platforms:
<drive>:Users:<username>:Library:Application Support: ¬
Macromedia:Dreamweaver MX 2004:Configuration
If Dreamweaver cannot find the TagLibraries.vtm file in the user's Configuration folder, it
searches for the file in the Dreamweaver Configuration folder.
Note: On multiuser platforms, if you edit the copy of TagLibraries.vtm that resides in the
Dreamweaver Configuration folder and not the one located in the user's configuration folder,
Dreamweaver is not aware of the changes because it parses the copy of the TagLibraries.vtm file in
the user's Configuration folder, not the one in the Dreamweaver Configuration folder.
The
cfweather
can use to register the
To register the tag:
Open the TagLibraries.vtm file in a text editor.
1
Scroll through the existing tag libraries to find the CFML tags
2
Add a new tag reference element, as shown in the following example:
3
<tagref name="cfweather" file="cfml/cfweather.vtm"/>
Save the file.
4
The tag is now registered in the tag library, and it has a file pointer to the cfweather.vtm tag
definition file.
tag is a ColdFusion tag, so an appropriate tag library group already exists that you
tag.
cfweather
group.
taglibrary
Creating a new tag editor
211
Need help?
Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?
Questions and answers