Hi,

Since Magnolia 4.5 the area and edit bars are placed automatically. Many times 
they are not placed correctly and then I have to put markers into the template 
code, but apparently there are no markers for the area bars themselves (are 
there?).

Also I don't quite understand the logic behind the placement. When there is 
only one element in the script, the area bars seem to be placed inside it, 
otherwise they are placed outside of the code. Why is the logic not consistent?

In other cases it seems rather difficult to debug the whole process.
F.e. in the demo project this code works correctly as expected:
<ul>
    [#list components as component ]
        [@cms.component content=component /]
    [/#list]
    [#if cmsfn.editMode]
      <li cms:add="bar"></li>
    [/#if]
</ul>

But my code produces different results:
<ul>
  [#list components as component]
  <li>[@cms.component content=component /]</li>
  [/#list]
</ul>

with the resulting html code:
<div class="mgnlEditor mgnlEditorPlaceholder area active" style=""></div><ul>
  <div class="mgnlEditor mgnlEditorBar area end" style=""></div></ul>

it puts the closing area bar inside the ul, why?

Does anybody have any tips?

Regards

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=62e0f235-f03d-490b-83a3-b09543bc0308


----------------------------------------------------------------
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