Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8865

Add dialog.tpl support to price option label

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 3.4.5
    • Fix Version/s: 4.4.0
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      In option.tpl add support for the Dialog.tpl to support quick editing of multiple languages for the label.

      Sadly just adding

      {include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_price_field_value' field='label' id=$id}

      doesn't do it, as it can't find the $id (which I find odd....). Maybe I need to prepare something in option.php so it can find the $id in option.tpl? I tested and with a "id=6" instead of "id=$id" it works like a charm. So the issue is to get the id replaced correctly.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              sussdorff Malte Sussdorff
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: