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

Process extension parameters in shortcodes

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      User and Admin Doc
    • Funding Source:
      Needs Funding
    • Overview:
      Foxed and merged as per linked PR.

      Description

      When using CiviDiscount, it is possible to pass additional parameters to CiviDiscount through the CiviCRM URL, however, there doesn't seem to be any ability to pass those same parameters with a civiCRM short code. For example, when using CiviDiscount, It would be useful if it could parse the following:

      [civicrm component="contribution" id="2" mode="live" discount="pkpwpabs7" hijack="0"]
      

      The WordPress Integration doesn't appear to have any mechanisms to accept parameters for CiviCRM extensions.

        Attachments

          Activity

            People

            • Assignee:
              haystack Christian Wach
              Reporter:
              prdufresne Paul Dufresne
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: