Dreamweaver

Reuse assets in another site

The Assets panel shows all the assets (of recognized types) in your current site. To use an asset from the current site in another site, you must copy it to the other site. You can copy an individual asset, a set of individual assets, or an entire Favorites folder at once.

You may need to locate the file in the Files panel that corresponds to an asset in the Assets panel before you transfer the asset to or from your remote site.

Note: The Files panel might show a different site from the one that the Assets panel shows. This is because the Assets panel is associated with the active document.

Locate an asset file in the Files panel

  1. In the Assets panel, select the category of the asset you want to find.
  2. Right-click (Windows) or Control-click (Macintosh) the asset’s name or icon in the Assets panel, then select Locate In Site from the context menu.
    Note: Locate In Site is unavailable for colors and URLs, which do not correspond to files in the site.

    The Files panel opens, with the asset file selected. The Locate In Site command locates the file corresponding to the asset itself; it does not locate files that use that asset.

Copy assets from the Asset panel to another site

  1. In the Assets panel, select the category of the asset you want to copy.
  2. Right-click (Windows) or Control-click (Macintosh) one or more assets in either the Site list or Favorites list, select Copy To Site, and select the target site name from the submenu listing all the sites you’ve defined.
    Note: In the Favorites list, you can copy a Favorites folder as well as individual assets.

    The assets are copied to their corresponding locations in the target site. Dreamweaver creates new folders in the target site’s hierarchy as needed. The assets are also added to the target site’s Favorites list.

    Note: If the asset you copied is a color or a URL, it appears only in the target site’s Favorites list. Because colors and URLs don’t correspond to files, there’s no file to copy into the other site.