GithubHelp home page GithubHelp logo

ep2014's Introduction

CiviCRM extension developped for ep2019

It contains two examples of datagrid used with jeditable

example

it assumes a few configuration things. civicm/party

civicm/candidates

civicm/dataviz/candidate

civicm/dataviz/campaign/{id group}

ep2014's People

Contributors

tttp avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

wildanthoyib

ep2014's Issues

Change Request: get telephone number in candidate item

Please add to the candidates output the contact phone field. We need this over API access. I see in civicrm that this is a very complex field. Is it possible to get the full number as string in the candidates? And if there multiple phone numbers, it should be an array (array[number_type] = number).

Change Request: trim user input

especially for email address, facebook url and twitter url it would be nice if user input is trimmed so that no whitespaces at beginning or end of the string are left.

Change Request: Facebook URL Replacements

  1. To unify the url for facebook of candidates please do some replacement on the current data.
UPDATE civicrm_website set url = REPLACE(url, "wwwfacebook.com","www.facebook.com") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "/ttp://","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "/ttps://www.facebook.com","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "/ttps://de-de.facebook.com","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "/ww.facebook.com","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "hhttps://www.facebook.com/","https://www.facebook.com/") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "http://https://","https://") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "facebook.comwww.facebook.com","www.facebook.com") WHERE website_type_id=3;

UPDATE civicrm_website set url = REPLACE(url, "?sk=info","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "&sk=info","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "?ref=ts","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "&ref=ts","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "?fref=ts","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "&fref=ts","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "&sk=wall","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "&ref=tn_tnmn","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "?ref=home","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "?ref=logo","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "?sk=wall","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "?ref=sgm","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "?ref=hl","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "?ref=tn_tnmn","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "?ref=stream","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "?ref=mf","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "?ref=profile","") WHERE website_type_id=3;

UPDATE civicrm_website set url = REPLACE(url, "/home.php#!","") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "/#!/profile.php","/profile.php") WHERE website_type_id=3;

UPDATE civicrm_website set url = REPLACE(url, "http://facebook.com/","https://www.facebook.com/") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "http://www.facebook.com/","https://www.facebook.com/") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "https://facebook.com/","https://www.facebook.com/") WHERE website_type_id=3;
UPDATE civicrm_website set url = REPLACE(url, "https://www.facebook.com/#!/","https://www.facebook.com/") WHERE website_type_id=3;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.