[opencms-dev] <cms:container ... documentation

Christoph Kukulies kuku at physik.rwth-aachen.de
Thu Mar 26 15:24:03 CET 2015


Am 26.03.2015 um 15:16 schrieb Christoph Kukulies:
> I'm seeking for an explanation of the attributes one has to use in the
>
> <cms:container tag.
>
> Case: I have a formatter (btw, is a formatter automatically editable 
> by the ROLE.DEVELOPER (admin) in the direct editor?
> and I would like to allow a certain <div> in thet formatter to be 
> editable in the Direct Editor by the ROLE.EDITOR.
>
> Here is a code snippet from a formatter in my site setup that is using 
> such a cms:container.
> It has been built in during a course I had with Alkacon, but presently 
> I'm lost in interpreting the meanings
> of the keyword and thus unable to apply this to a new case I have.
>
>
Forgot to append the code snippet:

<cms:container name="cell_container" type="cell" tagClass="panel-grid-cell">
                             <div class="panel">
                                 <h3 class="widget-title">
                                     placeholder for title
                                 </h3>
                                 <div class="textwidget">
                                     placeholder for text
                                 </div>
                             </div>
                         </cms:container>

Or in another place I see this one line

<cms:container name="slider-container" type="slider" 
editableby="ROLE.EDITOR" tagClass="slider-container" />

inmidst of a surrounding <div>

What's the magic behind it again? Where is it documented?

-- 
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list