Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9571

When I use ametys:skinURL in the view of a content imported into a newsletter with the last publications button, the got url does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.11, 4.2.0
    • 4.1.9
    • None
    • None

      How to reproduce it :

      • I created a newsletter view of a news content
      • into the news-newsletter.xsl, I use the {ametys:skinURL('img/newsletter/more.png')}

        to display an image
        > the url is not correct

      If I insert

      <xsl:value-of select="ametys:skinURL('img/newsletter/more.png')"/>

      , I get "/skins/paris4perso/resources/img/newsletter/more.png"

      If I insert

      <img src="/cms{ametys:skinURL('img/newsletter/more.png')}"/>

      , I get the right url of the image.

      There is something wrong with ametys:skinURl when it is used with the last publications button.

            Unassigned Unassigned
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: