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

The wrapped plugin URL doesn't exist

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.0 M5
    • 3.0 M4
    • Plugin : Web
    • None

      The wrapped plugin URL, indicated in the following JS method, does not exist (it's never matched in a sitemap).

      function getPluginWrappedUrl(plugin)
      {
          return "/inpt-cms/plugin/" + plugin;
      }
      

          [CMS-1255] The wrapped plugin URL doesn't exist

          copy by zone

          imply the plugin must return a page like

          <html>
              <head></head>
              <body id='zonename'></body>
              <body id='otherzonename'></body>
          </html>
          

          where zonename and otherzonename must match a zone name in the template.

          Note that the getPluginWrappedUrl method has 2 arguments (against one before) that are plugin and template

          Raphaël Franchet added a comment - copy by zone imply the plugin must return a page like <html> <head> </head> <body id= 'zonename' > </body> <body id= 'otherzonename' > </body> </html> where zonename and otherzonename must match a zone name in the template. Note that the getPluginWrappedUrl method has 2 arguments (against one before) that are plugin and template

          not copying anything

          Raphaël Franchet added a comment - not copying anything

          The snippet you have proposed is wrong because it is the one from the backoffice.
          You should have look at the one from the preview.

          Whatever, the url has changed, it is now
          SITE / LANG / _plugins / PLUGINNAME / TEMPLATE / url

          eg: www/fr/_plugins/web/page/myurl.html

          The js method to use to get it is "getPluginWrappedUrl"

          Raphaël Franchet added a comment - The snippet you have proposed is wrong because it is the one from the backoffice. You should have look at the one from the preview. Whatever, the url has changed, it is now SITE / LANG / _plugins / PLUGINNAME / TEMPLATE / url eg: www/fr/_plugins/web/page/myurl.html The js method to use to get it is "getPluginWrappedUrl"

            Unassigned Unassigned
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: