dev-master
9999999-devCampaign for eZ Platform 6.x
GPL-3.0
The Requires
- php ~5.6|~7.0
- ezsystems/ezpublish-kernel ~6.7
- welp/mailchimp-bundle ~1.1
by Smile SA
Wallogit.com
2017 © Pedro Peláez
Campaign for eZ Platform 6.x
Currently in dev, (*2)
Add UI Interface to manipulate MailChimp subscriber lists, campaigns and add a field type to display a newsletter form subscription., (*3)
Add SmileEzFieldTypeGeneratorBundle by running this command from the terminal at the root of your eZPlatform project:, (*4)
composer require smile/ez-uicampaign-bundle
To start using the bundle, register the bundle in your application's kernel class:, (*5)
// ezpublish/EzPublishKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Welp\MailchimpBundle\WelpMailchimpBundle(),
new Smile\EzUICampaignBundle\SmileEzUICampaignBundle(),
// ...
);
}
add to config.php, (*6)
welp_mailchimp:
api_key: # your mailchimp api key
Add to routing.yml, (*7)
smileezcampaign_platform:
resource: '@SmileEzUICampaignBundle/Resources/config/routing.yml'
php app/console assets:install --symlink web php app/console assetic:dump
Add in your layout reference to smilecampaign.js, (*8)
{% javascripts
...
'bundles/smileezuicampaign/js/smilecampaign.js'
%}
<script type="text/javascript" src="{{ asset_url }}"></script>
{% endjavascripts %}
Campaign for eZ Platform 6.x
GPL-3.0