Website URL of a contact is not displayed
-----------------------------------------

                 Key: MGNLSTK-993
                 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-993
             Project: Magnolia Standard Templating Kit
          Issue Type: Bug
          Components: paragraphs
    Affects Versions: 2.0.4, 2.0.3, 2.0.2, 2.0.1, 2.0
            Reporter: Samuel Schmitt
             Fix For: 2.0.5


The problem comes from the model 
{{info.magnolia.module.templatingkit.templates.components.ContactModel}}.
The method {{getWebsite}} must search in the {{contact}} and not in the 
{{content}}.

Replace this method with:
{code}    public String getWebsite() {
        return templatingFunctions.externalLink(contact, "web");
    }{code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


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