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

Array support in m_Get tag

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.3
    • Fix Version/s: 5.2.0-B2
    • Component/s: Template System
    • Labels:
      None

      Description

      In-Portal has [b]m_Get[/b] tag, that is allows to display data, that was passed from web-browser, like url parameter or form field value right on the template.
      This can be easily achieved by [b]<inp2:m_Get name="url_param_name"/>[/b] tag.

      However, when it comes to multi-dimensional data structures on forms, e.g. input name on a form is like "some_name[sub_key][another_key]", then m_Get tag fails to display this, because PHP converts these keys into arrays, that should be accessed differently.

      Here is the patch for square bracket support in m_Get tag.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: