Giter VIP home page Giter VIP logo

mautic-sql-conditions-bundle's Introduction

MauticSqlConditionsBundle

SQL conditions for Mautic

Support

https://mtcextendee.com/plugins

Installation

Command line

  • composer require mtcextendee/mautic-sql-conditions-bundle
  • php app/console mautic:plugins:reload
  • Go to /s/plugins and setup SQL Conditions

Manual

Usage

1, See new item on left menu:

image

2, Setup SQL conditions

3, Parameters for SQL

  • :contactId
  • :campaignId
  • :eventId
  • :rotation

4, Condition return true If there is results

Examples

Condition for contacts with ID greather like 2000

SELECT l.id FROM leads l WHERE l.id = :contactId and l.id > 2000

Credits

Icons made by Eleonor Wang from www.flaticon.com

mautic-sql-conditions-bundle's People

Contributors

kuzmany avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mautic-sql-conditions-bundle's Issues

Mautic v3 Support

@kuzmany This looks like a very useful plugin but I can't get it to run on Mautic v3. What changes are needed to make it work on Mautic v3?

Any help would be greatly appreciated!

Mautic cron tester is required?

When installing the plugin on Mautic 3 there is an error:

The service "mautic.integration.sqlConditions" has a dependency on a non-existent service "mautic.crontester.helper".  

Is that because the plugin is not yet ready for Mautic 3?

issue with mautic/compose-plugin

composer require mtcextendee/mautic-sql-conditions-bundle

Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
Using version ^1.1 for mtcextendee/mautic-sql-conditions-bundle
./composer.json has been created
Running composer update mtcextendee/mautic-sql-conditions-bundle
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- mautic/composer-plugin[1.0.0, ..., 1.0.1] require composer-plugin-api ^1.0 -> found composer-plugin-api[2.3.0] but it does not match the constraint.
- mtcextendee/mautic-sql-conditions-bundle[1.1.0, ..., 1.1.1] require mautic/composer-plugin ^1.0 -> satisfiable by mautic/composer-plugin[1.0.0, 1.0.1].
- Root composer.json requires mtcextendee/mautic-sql-conditions-bundle ^1.1 -> satisfiable by mtcextendee/mautic-sql-conditions-bundle[1.1.0, 1.1.1].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require mtcextendee/mautic-sql-conditions-bundle:*" to figure out if any version is installable, or "composer require mtcextendee/mautic-sql-conditions-bundle:^2.1" if you know which you need.

Installation failed, deleting ./composer.json.

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.