Little question about create extension

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default Little question about create extension

    Hi!

    I have some little question about create extension.

    What it means : <!--MENU-LOCATION=NOME -->

    What difereces about these doctypes:

    <!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//dialog">
    <!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//floater">
    <!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//pi">

    Whem I write my js script I need to use:
    language="javascript" or type="text/javascript"

    I need to write only HTML or I can use XHTML too.

    Thanks

    Leandro_Brazil Guest

  2. Similar Questions and Discussions

    1. Air extension could not create app descriptor file
      CS3, v9, 3481-- Current CS 3 Air Extension and Adobe Air This was working at one point. When I installed the CS4 beta, it stopped, so I...
    2. how to create an extension
      I'm looking for anyone with advice on how to create an extension for review by Adobe, and/or anyone that has been through the process and can give...
    3. Where to start: Create Behavior/Extension
      Ok..... I want to create an extension that allows people to choose on a site and/or per-page basis to put all javascript in an external linked...
    4. Dreamweaver Extension to create Chart
      Hi I'm not sure if you have purchased this yet? If you haven't please bear in mind that the webassist extention cannot handle negative values at...
    5. How To Create A Dreamweaver Extension!
      This is not really a question more of an answer to a question that was proposed to me by one of my customers. So I thought it might help others to...
  3. #2

    Default Re: Little question about create extension

    Leandro_Brazil wrote:
    > What it means : <!--MENU-LOCATION=NOME -->
    This line tells Dreamweaver not to show an extension within the menu
    system. For example, you may have a Command that is invoked from an
    Object (Insert bar icon), but you do not want the Command to be listed
    on the COmmands menu, you'd use this comment.
    > What difereces about these doctypes:
    >
    > <!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//dialog">
    > <!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//floater">
    > <!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//pi">
    I don't know what the practical differences are between them, but use
    the floater one for any floating panels you make, the PI for any
    Property inspectors you make, and the dialog one for any extension that
    will have a dialog appear.
    > Whem I write my js script I need to use:
    > language="javascript" or type="text/javascript"
    Within DW extensions, you actually don't have to use either, a plain
    <script> tag would be fine. However, I try to get in the practice of
    using what I'm using in web pages, just so I don't get sloppy in web pages.
    > I need to write only HTML or I can use XHTML too.
    I've not seen any issues with XHTML code, but HTML is "good enough".

    Here's my generic getting started post:

    MX04:
    Help > Extensions > Extending Dreamweaver
    and
    Help > Extensions > API Reference
    and
    Help > Extensions > Creating and Submitting

    livedocs as well:
    [url]http://livedocs.macromedia.com/dreamweaver/mx2004/index.html[/url]

    Dreamweaver MX 2004 SDK (includes MXI format for DWMX 2004):
    [url]http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn121&extid[/url]...

    MXI File Format for DWMX 2004:
    [url]http://download.macromedia.com/pub/dw_exchange/mxi_file_format.pdf[/url]

    MXI File format for DWMX and earlier:
    [url]http://download.macromedia.com/pub/dw_exchange/mxi_file_format.pdf[/url]

    Books (dedicated):
    Building Dreamweaver 4 and Dreamweaver UltraDev 4 Extension
    Tom Muck and Ray West
    [url]http://basic-ultradev.com/building_extensions/index.asp[/url]

    Dreamweaver MX Extensions
    Laura Gutman
    [url]http://www.amazon.com/exec/obidos/tg/detail/-/0735711828/qid=10686781[/url]...

    Covers extending:
    Dreamweaver MX The Complete Reference
    Ray West and Tom Muck
    [url]http://www.amazon.com/exec/obidos/ASIN/0072195142/basicultradev-20[/url]

    Dreamweaver MX 2004 The Complete Reference
    Ray West and Tom Muck
    [url]http://dwteam.com/tcr/[/url]

    Beyond Dreamweaver
    Joseph Lowrey
    [url]http://www.amazon.com/exec/obidos/tg/detail/-/0789727404/qid=10686785[/url]...

    Plus, always good to see what others have done. Visit the Exchange and
    look at as many as you can:
    [url]http://www.macromedia.com/exchange/[/url]

    Lists of DW extension developer sites:
    [url]http://www.dwfaq.com/Resources/Extensions/default.asp[/url]
    [url]http://www.felixone.it/extensions/mext.asp[/url]

    And also the site I write for: [url]http://www.communitymx.com/[/url] I have a few
    extension related articles there (commercial site).



    --
    Danilo Celic
    | Extending Knowledge, Daily [url]http://CommunityMX.com/[/url]
    danilocelic *TMM* Guest

  4. #3

    Default Re: Little question about create extension

    Thank?s for this information.

    It was good.

    But other question.

    Why when I put the tag <label> like that:


    ...
    <tr>
    <td valign="baseline"><label>Name:</label></td>
    <td valign="baseline"><input style="width:135px" type="text" name="name"
    id="name"></td>
    </tr>
    ...


    the extension stop to funciton?

    If I use this tag (label) the dw needs to be closed
    but why?

    Leandro_Brazil Guest

  5. #4

    Default Re: Little question about create extension

    Leandro_Brazil wrote:
    > If I use this tag (label) the dw needs to be closed
    > but why?
    I can replicate that crash on a couple of systems. Not sure why that is
    occuring, but if you use the for attribute, then it seems not to crash:
    <label for="name">Name:</label>

    Another weird thing that seems to appear with this once you add the for
    attribute, if you do not have a value attribute, then you get some
    "square" symbols appear.


    --
    Danilo Celic
    | Extending Knowledge, Daily [url]http://CommunityMX.com/[/url]
    danilocelic *TMM* Guest

  6. #5

    Default Re: Little question about create extension

    danilocelic *TMM* wrote:
    > Another weird thing that seems to appear with this once you add the for
    > attribute, if you do not have a value attribute, then you get some
    > "square" symbols appear.
    A little more testing and I see that if the value attribute is empty (
    value="" ) then those symbols appear as well.


    I also tried wrapping the field with the label tag with and without a
    for attribute and that also caused a crash.

    Please report your crash to (I'll report it too):
    [url]http://www.macromedia.com/support/email/wishform/[/url]



    --
    Danilo Celic
    | Extending Knowledge, Daily [url]http://CommunityMX.com/[/url]
    danilocelic *TMM* Guest

  7. #6

    Default Re: Little question about create extension

    danilocelic *TMM* wrote:
    > A little more testing
    And some more....

    When I deleted the id attribute, it appeared to start working again
    without a for attribute, both wrapped nad not wrapped around the filed.

    Also, removing the id attribute cleard up the square symbols issue as well.

    --
    Danilo Celic
    | Extending Knowledge, Daily [url]http://CommunityMX.com/[/url]
    danilocelic *TMM* Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139