Skip to content
Because Dreamweaver 4 is configured via XML files, we can tell dreamweaver to handle Radio 8's macro tags differently. (This will temporarily make Dreamweaver's ASP tag functions go away, but it's a small price to pay right?)
By default Radio 8 macros look like ASP tags in Dreamweaver which require you to click an "edit" button to see or edit the tag/script. [Screen Shot][3]
By duplicating and editing Dreamweaver's asp.xml file (which can be found in ThirdPartyTags folder which a sub-folder of Dreamweaver's Configuration folder) [Screen Shot][4] you can make a radio.xml file with the following code:
` `
Or you can download the radio.xml file and accompanying radio.gif file as a zip archive here - [Radio_for_DW.sit (for Macs)][5] or [Radio_for_DW.zip (For Windows)][6]
With the radio.xml and radio.gif files in the ThirdPartyTags (instead of the corresponding asp files) editing a dreamweaver template will look like this [Screen Shot][7]. Notice that now when you click on a radio "macro" icon, the code of the macro appears in the editing box - no more edit button.
One other option is to remove the asp.xml file from the ThirdPartyTags folder without replacing it with anything else. This will show the macros themselves within the page design in the format they will be rendered in [Screen Shot][8]
Of course you'll need to change the #template files from .txt to .html to even begin to effectively edit them in Dreamweaver 4.
[1]: http://radio.weblogs.com/0100077/2002/01/29.html
[2]: http://scriptingnews.userland.com/backissues/2002/01/29#la4809fa462d727fce1133c22ec81afa5
[3]: http://jumpserve.com/blanco/images/dw-radio/asp-icons.gif
[4]: http://jumpserve.com/blanco/images/dw-radio/thirdpartytags.gif
[5]: http://jumpserve.com/blanco/gems/Radio_for_DW.sit
[6]: http://jumpserve.com/blanco/gems/Radio_for_DW.zip
[7]: http://jumpserve.com/blanco/images/dw-radio/radio-icons.gif
[8]: http://jumpserve.com/blanco/images/dw-radio/no-icons.gif
[post_title] => Editing Radio 8 Templates with Dreamweaver
[post_category] => 0
[post_excerpt] =>
[post_lat] => 40.5897
[post_lon] => -73.7411
[post_status] => publish
[comment_status] => open
[ping_status] => closed
[post_password] =>
[post_name] => editing-radio-8-templates-with-dreamweaver
[to_ping] =>
[pinged] =>
[post_modified] => 2004-09-25 13:26:44
[post_modified_gmt] => 2004-09-25 18:26:44
[post_content_filtered] =>
[post_parent] => 0
[guid] => http://jumpserve.com/blanco/archives/2002/01/30/editing-radio-8-templates-with-dreamweaver/
[menu_order] => 0
[post_type] => post
[post_mime_type] =>
[comment_count] => 0
[ancestors] => Array
(
)
)
[2] => stdClass Object
(
[ID] => 120
[post_author] => 2
[post_date] => 2001-04-17 00:01:20
[post_date_gmt] => 2001-04-17 05:01:20
[post_content] =>
Taking Your Talent to the Web. Read this exclusive prerelease written by the founder of A List Apart, Jeffrey Zeldman Presents and The Web Standards Project. Published by New Riders. 0409 [WebReference News]
Along with Phil Greenspun, Jacob Nielsen, Bruce "Tog" Tognazzini and Dave Winer, Jeff Zeldman is another guy who 'gets' it. Unfortuanely all of them don't always agree on everything.
[post_title] => Taking Your Talent to the Web Prerelease chapter
[post_category] => 0
[post_excerpt] =>
[post_lat] => 40.5897
[post_lon] => -73.7411
[post_status] => publish
[comment_status] => open
[ping_status] => closed
[post_password] =>
[post_name] => taking-your-talent-to-the-web-prerelease-chapter
[to_ping] =>
[pinged] =>
[post_modified] => 2004-09-20 18:35:20
[post_modified_gmt] => 2004-09-20 23:35:20
[post_content_filtered] =>
[post_parent] => 0
[guid] => http://jumpserve.com/blanco/archives/2001/04/17/taking-your-talent-to-the-web-prerelease-chapter/
[menu_order] => 0
[post_type] => post
[post_mime_type] =>
[comment_count] => 0
[ancestors] => Array
(
)
)
)
[queried_object] => stdClass Object
(
[term_id] => 20
[name] => Web Development
[slug] => web-development
[term_group] => 0
[term_taxonomy_id] => 20
[taxonomy] => category
[description] =>
[parent] => 0
[count] => 10
[cat_ID] => 20
[category_count] => 10
[category_description] =>
[cat_name] => Web Development
[category_nicename] => web-development
[category_parent] => 0
)
[queried_object_id] => 20
)
SERVER
Array
(
[REDIRECT_STATUS] => 200
[HTTP_HOST] => jumpserve.com
[HTTP_USER_AGENT] => CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
[HTTP_ACCEPT] => Accept: application/xhtml+xml,text/html;q=0.9,text/plain;
[HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5
[HTTP_ACCEPT_ENCODING] => gzip
[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
[HTTP_CONNECTION] => close
[HTTP_CACHE_CONTROL] => no-cache
[HTTP_PRAGMA] => no-cache
[PATH] => /bin:/usr/bin:/sbin:/usr/sbin
[SERVER_SIGNATURE] =>
[SERVER_SOFTWARE] => Apache
[SERVER_NAME] => jumpserve.com
[SERVER_ADDR] => 207.7.108.21
[SERVER_PORT] => 80
[REMOTE_ADDR] => 38.103.63.61
[DOCUMENT_ROOT] => /users/home/blanco/domains/jumpserve.com/public_html
[SERVER_ADMIN] => web@one.textdrive.com
[SCRIPT_FILENAME] => /users/home/blanco/domains/jumpserve.com/public_html/blanco/index.php
[REMOTE_PORT] => 54588
[REDIRECT_URL] => /blanco/archives/category/web-development/page/2/
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /blanco/archives/category/web-development/page/2/
[SCRIPT_NAME] => /blanco/index.php
[PHP_SELF] => /blanco/index.php
[REQUEST_TIME] => 1231453805
)
REQUEST
Array
(
)
-->