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

Add ability to get MenuTitle of CMS page using "st_PageInfo" tag

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.1
    • Fix Version/s: 5.1.0-B1
    • Component/s: Front End
    • Labels:
      None

      Description

      Currently tag "st_PageInfo" allows to get most popular information about current CMS page, but not contents of MenuTitle field. I think, that it should allow us to do that.

      In global scale we should think about rewriting for scratch part of that tag anyway to allow to get any current CMS page field from it. Or just remove it and use "<inp2:st_Field name="MenuTitle"/>" and so on directly.

      Besides that this tag do 2 other things:
      1. returns empty string when requested field value begins with "_Auto:";
      2. asks "c_Meta" tag about additional information.

      Kind of strange relationships that two tags have. We should break it anyway and use "c_Meta" tag directly when needed. This will make code more simple, more readable and understandable.

      One more thing about this tag: there is PageInfo tag in base tag processor, that returns pagination information when listing items. Tag "st_PageInfo" prevents original tag to be accessed in any way and that's not good. Nobody seems to use tag "PageInfo" in favor of "GridInfo" tag so no one noticed that fact. Should investigate deeper anyway.

        Attachments

          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: