Hi, Andrew.
I'm not a commited developer, but I think I can answer your question.
It's possible to do what your asking. Just make your own JSP tags.
But then you run in to some problems.
What if you want to change the content of your collumn, contentParagraph
to say contentParagraphToo?
What if want to include other things besides editBar in adminOnly?
What if you want some other content from another content node collection
inside?
What if you want to change paragraph?
Yes, you could change the custom tag, but that just creates another
level of complication.
Regards
Jon G. Berentsen
Andrew wrote:
I have a question for Magnolia developers.
In "Templater's quick start guide" document you suggest to use follow
standard template for paragraph processing:
<cms:contentNodeIterator
contentNodeCollectionName="contentParagraph">
<cms:adminOnly>
<cms:editBar/>
</cms:adminOnly>
<cms:includeTemplate/>
</cms:contentNodeIterator>
<cms:adminOnly>
<cms:newBar contentNodeCollectionName="contentParagraph"
paragraph="samplesTextImage"/>
</cms:adminOnly>
Actually I cannot understand why you didn't simplify this template ?
Why you didn't change all this code to (for example):
<cms:zone name="leftColumnZone"/>
Where "leftColumnZone" attribute is contentNodeCollectionName.
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------