Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1147

Lowercase url, built by "c_ContentPageLink" tag

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.2.1-B1
    • Component/s: Front End
    • Labels:
      None

      Description

      When you're printing a sitemap with links to all sections (pages) from a website on it you need to have solid tag to build a link to each page.
      Right now there is tag <inp2:CategoryLink template='_default_'/> that does that.

      Tag CategoryLink threats a section as a category and populates category_id in a link, but uses keeps template empty (if template parameter is set to "_default_") at the end.
      Resulting link is valid because category url itself is a virtual template.

      However if developer wants to rewrite some urls on the website and matches template name to an url he sees then nothing would happen, because as I've mentioned template name is empty.
      Fortunately we have ContentPageLink that does the job. But over time (since nobody uses it) it broke. Both tags build same url at the end, however with ContentPageLink tag 't' parameter in rewrite listeners isn't empty.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: