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

Use separate page objects, when "st_ContentBlock" tag is used with page_id/page parameters

    XMLWordPrintable

    Details

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

      Description

      Each page in In-Portal can have various number content blocks, that are associated with it. Tag <inp2:st_ContentBlock .../> ´╗┐must be used to display content block contents on a page.

      This tag accepts following parameters:

      • num - content block number that will be displayed
      • page_id - ID of the page, that should be used instead of current page
      • page - template name of a page, that should be used instead of current page

      However, when page_id/page parameter is used, then current page (used in CategoriesTagProcessor::_getPage method) gets overwritten with page, given in page_id/page parameters. This results in later page used instead of current page:

      • in all ContentBlock tags placed on template after tag, which used page_id/page parameter
      • for cache key storage of visited page, when "full page cache" is enabled

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Dmitry Andrejev [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: