Hello, recently i have been tasked to create a dialog to create the meta data 
of a Twitter Card type summary, i have created the dialog and worked all the 
data into the meta datas os a JSP but i have encountered a problem with the 
image.

I have to get the URL of the image in order to finish the Twitter card but i 
seem unable to find the correct way to achive it. I think that i should use:
[code]${cmsfn.link(content)}[/code]

But i have tried this way:
[code]<meta name="twitter:imagePRUEBALink" content="${cmsfn.link(newsImage)}" 
/>[/code]
being newsImage the "name" that i assigned to the image that is selected in the 
dialog.

and i get this error:
[code]Caused by: javax.el.MethodNotFoundException: Method not found: class 
info.magnolia.templating.jsp.cmsfn.JspTemplatingFunction.link(java.lang.String)[/code]

Could anyone explain to me the correct way to get the URL from an image.

Thank you in advance for your trouble.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=46e4e1e6-a32c-4366-ab66-7e1667a66ea5


----------------------------------------------------------------
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: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

  • [magnolia-user] Gettintg... Francisco de Borja Segovia (via Magnolia Forums)

Reply via email to