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

Put the CiviCRM version in the config object (which gets exposed to smarty).

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: Extension System
    • Labels:
      None

      Description

      Put the CiviCRM version in the config object (which gets exposed to smarty).

      Per drastik & dlobo conversation. Expose CiviCRM version to be accessible in the .tpl layer for extensions like Stripe which may use selectors on form elements (for example).

      Noted on: https://github.com/drastik/civicrm_stripe/issues/3
      Changed in 4.3:
      #credit_card_exp_date_M
      #credit_card_exp_date_Y

      This would allow Stripe to conditionally use a different selector 'if version = 4.3'.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              drastik Joshua Walker
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: