Hello everyone,

I have a js-based image-gallery which is making trouble during the migration.
In 4.4 I could do something like this:
[code]  <li>
        [#if mgnl.editMode]
                <div style="position:absolute; left:0px; top:10px; 
z-index:500;">[@cms.editBar editLabel="Bild bearbeiten" moveLabel="" /]</div>
        [/#if]  
        ...[/code]
Thus having an edit-button layered on top of the current image for the current 
image.
Also I was able to put an add-button on top of my gallery simply by
[code]  [#if mgnl.editMode]
                <div>[@cms.newBar contentNodeCollectionName="imageGallery" 
newLabel="Bild hinzufügen" paragraph="${def.subParagraph}" /]</div>
        [/#if][/code]
Does the new marker [code]<li cms:add="bar"></li>[/code] not offer this 
flexibility anymore?
Is there any way to achieve something similar? To me it looks like currently 
I'm be unable to make
an ajax-image-gallery editable.

Greetings
Marc

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=85f322f0-9f34-4bca-8efa-b60ab67d3431


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