2 Replies Latest reply on May 10, 2013 5:37 AM by AlertAlert23

    Disable dialog on image component included from another page?

    AlertAlert23

      I have one page that will contain only a default image component where the authors will choose an image, resize it, add link mapping, etc. I want to include that image component into another page to actually be displayed but i don't want them to be able to see the dialog/design_dialog on the second page. Is it possible to disable the dialog when doing a sling:include? Or is there a better way to go about this?

       

      So on my first page (the page they'll edit the image) i have -

      <cq:include path="catMenuImage" resourceType="/libs/foundation/components/image" />
      

       

      And on the second page i have -

      sling.include(categoryPage.getContentResource("catMenuImage").getPath());