CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • PriceSets Custom Widgets
Pages: [1]

Author Topic: PriceSets Custom Widgets  (Read 431 times)

TobiasLounsbury

  • I’m new here
  • *
  • Posts: 5
  • Karma: 1
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7.17
  • MySQL version: 5.5.24
  • PHP version: 5.3
PriceSets Custom Widgets
November 20, 2014, 11:40:49 am
I'm thinking about adding a new set of hooks to allow developers in the community to create custom HTML widgets for use with a single PriceSet field. This would allow for a plugin that creates for example a hybrid input for donation amounts. Something where it has 5 radio buttons and an Other text input. This is a feature we need and are currently accomplishing through a lot of custom JS and some back-end PHP.
I'm willing to do the initial work to build in the hooks and document how they work. Would there be any interest from other developers in developing new widgets? How about from the community in having new and varied input types?

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: PriceSets Custom Widgets
November 21, 2014, 09:32:41 am
Hey Tobias,

There was a Make-it-Happen about creating a widget to allow a value when selecting "Other" a while back.  My concern about this for contributions is making sure that the line items are allocated correctly - the UI for setting that up can get tricky, though the price set UI seems to do a good job of it.
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • PriceSets Custom Widgets

This forum was archived on 2017-11-26.