1 Reply Latest reply: Aug 5, 2010 10:12 AM by Randy Edmunds RSS

    How is the Insert > Form dialog done?

    ac361 Community Member

      Hi. I love the way the Insert > Form dialog looks but can't figure out how it was done. I'd like to create something similar but for inserting a different object type. Can anyone shed some light on the Form dialog and how it has different categories on the left side along with properties on the right side for each?

        • 1. Re: How is the Insert > Form dialog done?
          Randy Edmunds Employee Hosts

          I love the way the Insert > Form dialog looks but can't figure out how it was done.

           

          Here's how you can find the code for anything done through a DW Menu (which is almost everything).

           

          Start by opening this file in a text editor:

           

            [install-dir]/configuration/menus/menus.xml

           

          This file defines all DW Menus. About 2/3 way through the file you'll find this comment:

           

            <!-- This is the Main menu bar  -->

           

          Everything above that comment are context (right-click) menus. The <menubar> tag defines the main menu. Insert menu is <menu id="DWMenu_Insert">. The Form item is <menuitem id="DWMenu_Insert_Form"> which has file="Forms/Form.htm" that maps to:

           

            configuration/Objects/Forms/Form.htm

           

          HTH,

          Randy