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) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • System to build embeddable progress bars and widgets.
Pages: [1]

Author Topic: System to build embeddable progress bars and widgets.  (Read 785 times)

manoj_zyxware

  • I’m new here
  • *
  • Posts: 3
  • Karma: 1
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.26
  • MySQL version: 5.5.34-0ubuntu0.12.04.1
  • PHP version: 5.3.10-1ubuntu3.8
System to build embeddable progress bars and widgets.
August 28, 2014, 10:54:42 pm
Hi,

We are planning to implement a system to build embeddable progress bars and widgets based on the entities provided by CiviCRM - like Contribution pages, mailing lists etc.

The new widget creation interface will be similar to current CiviCRM widget creation interface for Contribution page. We plan to implement this as a new extension to CiviCRM.  Using the new interface user can create progress bar which draws value from a formula including values from one or more contribution pages, rather than being tied to a specific page. The formula allows user to enter an arbitrary starting amount, goal amount, and current total raised.

For example, for the progress bar we'd like to display the total raised by one contribution page, as well as 10% each of two other contribution pages, plus an arbitrary starting amount.

Also this new interface allows to create campaign widget which may contain image or text or donate button or progress bar (created above) or newsletter subscription field.

Workflow:
1. CiviCRM user clicks the button to create a new widget or progress bar
2. If it is a progress bar, create the formula that defines the current amount, and also set the goal amount.
2. If it is a widget, select the campaign and elements required.
3. Edit the embed code generated as required, for example to change style (Only for CiviCRM user. Not for end-user, who embed the widget in their site.)
4. Preview the final item.
5. Publish it by copying and pasting the embed code onto a Web site, and also distributing the embed code to people who will embed it on their own Web sites.

We wish to contribute back this work and to be maintained further. What will be the preferred mode of development?
In CiviCRM extensions, we found native modules and CMS modules. We use CiviCRM with Drupal. Will it be better to implement it as a Drupal module which uses the CiviCRM api to get the required data or implement it as a native CiviCRM extension?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • System to build embeddable progress bars and widgets.

This forum was archived on 2017-11-26.