How to add assets to the EES asset finder (locations)


(Darren Johnston) #1

This  tip describes how to add assets to the root level of the EES asset finder, ie. News, Events folders on a site by site basis using a single EES config file.

  1. Create an asset listing under your design
    1. Asset types to list (select whatever assets you  want to appear)
    2. Set the static root node  to the root of your sites folder
    3. Under Dynamic Parameters set  Replacement Root node for the listing  to Current  Site  Asset ID
    4. Use link value filtering, Link Value = "ees" (or whatever you like)
    5. Use position formats standard (%asset_listing%,) position -1 [last] (%asset_listing%)
    6. page contents
       <script> EasyEditConfig.assetFinderLocations=[%asset_listing%]; 
      </script>
      
  2. Under your EES Styles and Scripts nest the content of the asset listing above

  3. Use raw html for all content types and permissions same as other EES linked files.

  4. You should now see any asset with that link value  displayed in the asset finder at the root level