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'.