Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-993

Website URL of a contact is not displayed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.0.5
    • 2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4
    • paragraphs
    • None

      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:

          public String getWebsite() {
              return templatingFunctions.externalLink(contact, "web");
          }

        Acceptance criteria

              sschmitt Samuel Schmitt
              sschmitt Samuel Schmitt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: