I have configured a dialog that allows to insert and images and text into a 
block. However the problem is when and select options in the Image location, 
these options does not work with the text. Below is my configuration for the 
whole thing.

The dialog configuration:

[img]http://s6.postimage.org/ojqjawrtt/dialog_Config.png[/img]

The template configuration:

[img]http://s6.postimage.org/66py0chcx/temp_Config.png[/img]

and code use for rendering the dialog:
[code]
        
[#macro image image imageClass]
  [#if image?has_content]
          <img class="${imageClass}" src="${image.link}"/>
      
     
  [/#if]
[/#macro]
        <div class="textImage">
        [@image image=model.image! imageClass=model.imageClass/]
          ${content.abstract!}

  </div>
 </div>
[/code]

The code in main page
[cod]   <body>
        <div id="main">
              <div id="header">
                
                [@cms.area name="navigation" /]
                [@cms.area name="breadcrumb" /]
              </div>
              <div id='content'>
                 [@cms.area name="textImage"/]
              </div>
        </div>
   </body>[/code]


The display my dialog:
[img]http://s6.postimage.org/xvcl7v4dd/dialog.png[/img]

The result:

[img]http://s6.postimage.org/jrgpzgx5t/result.png[/img]


I have already referred to documentation.magnolia-cms.com/reference/dialogs

Thank you

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=60ff58bc-8d70-4d0c-89cf-6288602fb6f4


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to