Hi,

I am trying to retrieve the data in my template script. Therefore I read the 
following documents:

http://documentation.magnolia-cms.com/modules/templating-samples.html
(I also installed the module)
http://forum.magnolia-cms.com/forum/thread.html?threadId=92cc9fac-0e0e-48f6-b13d-d3b888f441bc

At first I wanted to mimic the demo project as this one is getting the data of 
the "contact" type. ( under /magnoliaAuthor/demo-project/news-and-events.html ) 
So I created a component like the demo project one:

[img]http://i12.photobucket.com/albums/a235/mhbgif/dataTestComponentAdminCentral.jpg[/img]

Then I wrote my template script just like those of the STK 
(/templating-kit/components/teasers/contact and 
/templating-kit/components/teasers/init.inc) and included the JSP-taglibs:
http://pastebin.com/h2Y873hb

When I render the script, no error occurs. But sadly, none Contact information 
either..so the "contact" variable in the code seems to be empty. Only the 
<h1>Contact</h1> (line 48) gets printed.

Do you know why my script is not working like the STK script as it should be 
just the same?

I am using Magnolia 4.5.2 Community Edition.

Thank you for your help in advance.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=84dd94b6-6f34-4918-84f1-b958d8123f77


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