Giter Club home page Giter Club logo

legacytokenhelper's Introduction

legacytokenhelper

Helper extension for sites that relied on token anomalies pre 5.43

This extension may help sites if they relied on oddball code in core - namely

  1. passing 'case_id' to token hooks and
  2. assigning the contact as a smarty variable to the template, as returned by the rendered hooks.

Known Issues

  1. Whoa - when you DO pass case_id to token hooks it returns the wrong contact.... this appears to be the behaviour we are 'saving'
  2. Assigning the contact seems kinda pointless since only the fields that there are tokens for are in the return values
  3. oddly I couldn't make the define condition true. I just hacked past it to test....

The extension is licensed under AGPL-3.0.

Requirements

  • PHP v7.2+
  • CiviCRM (FIXME: Version number)

Installation (Web UI)

Learn more about installing CiviCRM extensions in the CiviCRM Sysadmin Guide.

Installation (CLI, Zip)

Sysadmins and developers may download the .zip file for this extension and install it with the command-line tool cv.

cd <extension-dir>
cv dl legacytokenhelper@https://github.com/FIXME/legacytokenhelper/archive/master.zip

Installation (CLI, Git)

Sysadmins and developers may clone the Git repo for this extension and install it with the command-line tool cv.

git clone https://github.com/FIXME/legacytokenhelper.git
cv en legacytokenhelper

Getting Started

(* FIXME: Where would a new user navigate to get started? What changes would they see? *)

legacytokenhelper's People

Contributors

eileenmcnaughton avatar

Watchers

 avatar  avatar

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.