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

Massive refactoring of "form_blocks.tpl" template

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.1-B1
    • Component/s: Admin Interfaces
    • Labels:
      None
    • Additional information:
      Hide

      I recommend this task for 5.1.1 release, since whole "form_blocks.tpl" template is changed from top till bottom and we'll have many issues when we'll try to merge it later from further release.

      Show
      I recommend this task for 5.1.1 release, since whole "form_blocks.tpl" template is changed from top till bottom and we'll have many issues when we'll try to merge it later from further release.
    • External issue ID:
      841
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      I have applied "design approach" to every form block in administrative console. This allows to use less HTML to create new blocks and even allow to use single table to place form blocks into 2 or more columns on same form.

      Additionally some small improvements were made:

      • each block now have "title_text" parameter, that allows to specify field title in plain text (before only phrases can be used via "title" parameter)
      • blocks "inp_label", "inp_edit_box" now have "after_text" parameter, that allows to specify text, that should be displayed after control (e.g. measure unit after input field)
      • block "inp_edit_box" now can be used with FCKEditor
      • block "inp_edit_options" now also processes "style" parameter
      • block "inp_edit_checkboxes" now have "has_br" parameter, that allow to list each checkbox option at new line or one after another (as before)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: