background
|
|
Computer

Linux
Linux Support
A small area on the internet for Linux Support.
More icon
|
|
Up Image
Navigation
Search this Site
Enter your search terms

Site Breadcrumb - You are here
|
Reference   JavaScript Code Library

Webmonkey XSSI extensions for Dreamweaver
While we designed our XSSI extensions to be easy to use, we figure most people will need some further explanation. Choose from among the following links for descriptions of the various XSSI commands and features.

The Fundamentals of XSSI

Using the Webmonkey XSSI extensions for Dreamweaver
     Translating XSSI content
(Modify>Translate>XSSI)
     XSSI - Setting variables (set)
     XSSI - Displaying variables (echo)
     XSSI - Combining files (include)
     XSSI - Conditionalizing (if, elif, else, endif)
     XSSI - Setting environment variables (Commands>Set Environment Variables)
     XSSI - Showing environment variables (printenv)

A case study in Using XSSI Variables


Known issues

There are a few things you should know about the Webmonkey XSSI extensions:

  1. Unfortunately, Dreamweaver is unable to handle tags embedded within tags. So, for example, you cannot do the following within Dreamweaver even though it would work perfectly well on an Apache server:
  2. <!--#set var="text_size" value="4" -->
    <font size="<!--#echo var="text_size" -->">some text</font>

    However, you could do this:

    <!--#set var="text_size" value="<font size=4>" -->
    <!--#echo var="text_size" -->some text</font>

  3. Macromedia's Server Side Include translator has been disabled because of a potential conflict. If both the Macromedia and Webmonkey translators are enabled and set to automatically translate files, they occasionally conflict, causing undesirable results and general weirdness. Since the XSSI translator handles server-side includes, it shouldn't be necessary to use Macromedia's translator. However, if you do wish to re-enable it, here's how:

    In your Dreamweaver 2/Configuration/Translators/ directory, there should be a file named "Server-Side Includes.htm.old". To enable it, simply remove the ".old" part of the filename and restart Dreamweaver.

  4. Due to a limitation in Dreamweaver, you will be unable to inspect XSSI tags that are not within either the <head> or <body> tags of your document. They should translate and display just fine, but you will need to insert and edit them directly in the HTML inspector rather than using the nifty Webmonkey graphical interface.