I'm trying to create a new component that displays content and an image from a 
specific page. This is for an IT status teaser. I've set up the component and 
dialog (nothing in the dialog at the moment, will be some display options 
later). I can display the page name, abstract etc no problem but can't get a 
handle on the image. Could do with a little help please?
 
Just using cms.query to get the page and then running an assignValues macro to 
get the page content. I tried to get the image by 
 
 [#assign imageLink = stkfn.getAssetLink(item, "image", model)!]
 
but just get a 'No signature of method getAssetLink matches the arguments' 
error.
 
Any advice would be great.
 
Thanks
 
Jon


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

This email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.

Reply via email to