FSF
more_horiz
close

on 11th December 2014 / by manoj.k
FSF-CiviCRM is a popular Customer Relationship Management (CRM) system. The first step in getting started is understanding the CiviCRM codebase. For better understanding, please download CiviCRM zip file from https://civicrm.org/download and install. Object Oriented Programming CiviCRM core is built using OOP singleton concept. Singleton framework is one which initiates one class object only once and reuses it afterwards. Business logic CiviCRM business logic is handled in directory 'CRM/' in the root of CiviCRM installation. In this directory, you can see core functionalities such as Groups, Contacts, Profiles etc. Each of them inturn has directories named DAO, BAO, Form, Page etc. DAO DAO stands for Data Access Object, which acts as wrapper layer around database. It is recommended to use DAO to interact/manage database data. BAO BAO is abbreviation of Business Access Object. Actually, BAO is used to extend the DAO for handling business logic. Form Form in CiviCRM is implemented as a class extending CRM_Core_Form, which is done using the following methods: preProcess - retrieve data before processing form, buildForm - generate html form using QuickBuildForm helper functions, formRule - form validation rules and postProcess - form subit handler. Also, there will be separate template for each form, which can be found in 'templates/Form/' directory. Page If the screen isn't Form, it will be Page. Page is also class similar to Form extended from CRM_Core_Page. The methods available for Page preProcess, run - which displays the page content. Template for the page can be found in the directory 'templates/Page/'. xml xml directory contains menu structure of urls mapping to CRM form or page classes and controls access to these URLs using permissions. Templates Directory which contains templates of Form, Page etc. Go through the CiviCRM core for better understanding. Also, before starting work on CiviCRM, please post your plan of work to civicrm forum OR consult other developers instantly on CiviCRM IRC CiviCRM FSF Leave a reply Your email address will not be published. Required fields are marker *
close

on 09th December 2014 / by webmaster
Zyxware Technologies has developed and contributed CiviWCI (CiviCRM Widget Creation Interface) to the Free Software Foundation to assist in the fund raising campaign that FSF is launching in Dec 2014. The extension is expected to help FSF create “Donate Now” and “Join Now” widgets (fund raising and newsletter subscription) that can be embedded on any site that wishes to support FSF. This extension will replace the earlier widget system used by FSF. Through this contribution, Zyxware once again reaffirms its commitment to Free Software and the community around Free Software. CiviWCI is a CMS independent extension for creating and managing embeddable widgets, which can display content from various CiviCRM properties such as Donate links, Progress bar, Malinglist signup forms, html text etc. The Widget Creation Interface (WCI) also offers the flexibility to CiviCRM users to customize the look and feel of the widgets. The widget can be embedded on any website, irrespective of the technology or platform used. CiviCRM is a web­-based, open source, highly customizable, Constituency Relationship Management (CRM) software aimed at meeting the needs of non­profit and other civic­sector organizations. CiviCRM's robust feature set enables organizations to promote their organizational objectives through contact management, fundraising, event management, member management, mass e­mail marketing, peer­to­peer campaigns, case management, and lots more. CiviCRM is best integrated with Drupal but it has integrations with Wordpress and Joomla as well. Prerequisites: CMS (Any CMS supported by CiviCRM, we prefer Drupal) CiviCRM Version 4.4.7 or above Features: Enables users to create embeddable widgets with the support of the existing CiviCRM components such as contribution pages and mailinglists. Progress bars can be created and added to widgets which allows the user to know the current contribution status. Facilitates users to modify the widget appearing in a website without changing the embed code. With WCI, it is possible to cache the widget to reduce the load on the CiviCRM server. Please refer to the link below for more details: https://github.com/zyxware/civiwci/wiki https://civicrm.org/extensions/civiwci For further information about the widget and to customize the widget for your organization, please do get in touch with us. Community Projects Free Software News Contributions CiviCRM FSF Leave a reply Your email address will not be published. Required fields are marker * Peter Bull (not verified) access_time 24 May 2019 - 17:14 Hi. I'm using CiviCRM with Wordpress for a non-profit sports club in the UK. We have only just started to trial CiviCRM to control our membership system, the numbers of which are quite modest at the moment. We are looking for a widget to embed in a sidebar to show the number of current members that we have at any given time, that would populate itself by data from the CiviCRM membership database. Could you please tell us whether your proposed extension would be capable of doing that or be adapted to do that? Many thanks Peter Add new comment