Content in data repository doesn't have any templates assigned. It's not meant 
to be displayed like this. You can still iterate through the list of items from 
data repo, but the template in which you are iterating such items has to know 
how to render them. (Although at least in theory it should be possible to 
actually assign templates to data type items and use them this way ... but 
afaik, there's currently no UI element that would allow you to assign the 
template)

HTH,
Jan

On Jan 20, 2012, at 8:08 PM, Magnolia Forums (on behalf of Alexandre Odoni) 
wrote:

> Hello Magnolians,
> 
> How do I use to contentNodeIterator tag to read information in data 
> repository ?
> I tried  :
> [code]
> [@cms.contentNodeIterator contentNodeCollectionName="vereador" 
> path="/vereador" repository="data"
>    [@cms.includeTemplate /]
>  [/@cms.contentNodeIterator]
> [/code]
> 
> but I'm getting empty value. Am I doing something wrong ?
> 
> Thanks.
> 
> -- 
> Context is everything: 
> http://forum.magnolia-cms.com/forum/thread.html?threadId=06c9294f-4c5f-470d-a337-5041fe1b7cdd
> 
> 
> ----------------------------------------------------------------
> 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]>
> ----------------------------------------------------------------




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