Recommend this page to a friend! |
MelisCmsProspects provides a full Prospect system for Melis Platform, including templating plugins.
These instructions will get you a copy of the project up and running on your machine. This Melis Platform module is made to work with the MelisCms.
You will need to install melisplatform/melis-cms in order to have this module running. This will automatically be done when using composer.
Run the composer command:
composer require melisplatform/melis-cms-prospects
Database model is accessible on the MySQL Workbench file: /melis-cms-prospects/install/sql/model Database will be installed through composer and its hooks. In case of problems, SQL files are located here: /melis-cms-prospects/install/sql
MelisCmsProspects provides many services to be used in other modules:
// Get the service
$melisProspectsService = $this->getServiceManager()->get('MelisProspectsService');
// Get the number of prospects per month
$nb = $melisProspectsService->getProspectsDataByDate('monthly', '2017-10-04 12:00:00');
All Melis CMS News forms are built using Form Factories. All form configuration are available in the file: /melis-cms-prospects/config/app.tools.php Any module can override or add items in this form by building the keys in an array and marge it in the Module.php config creation part.
return array(
'plugins' => array(
// MelisCmsProspects array
'melistoolprospects' => array(
// Form key
'forms' => array(
// MelisCmsProspects update form
'melistoolprospects_tool_prospects_update' => array(
'attributes' => array(
'name' => 'prospectmanager',
'id' => 'idformprospectdata',
'method' => 'POST',
'action' => '',
),
'hydrator' => 'Laminas\Hydrator\ArraySerializableHydrator',
'elements' => array(
array(
'spec' => array(
...
),
),
),
'input_filter' => array(
'pros_id' => array(
...
),
),
),
),
),
),
),
MelisCmsProspects provides form elements to be used in forms:
Most services trigger events so that the behavior can be modified.
public function attach(EventManagerInterface $events)
{
$sharedEvents = $events->getSharedManager();
$callBackHandler = $sharedEvents->attach(
'MelisCmsProspects',
array(
'meliscmsprospects_toolprospects_save_end',
),
function($e){
$sm = $e->getTarget()->getServiceManager();
$params = $e->getParams();
// Custom code
},
100);
$this->listeners[] = $callBackHandler;
}
See also the list of contributors who participated in this project.
This project is licensed under the OSL-3.0 License - see the LICENSE.md file for details
Classes of Fabrice Fesch | > | How to Use a PHP Sales Management System to Keep Track of Client Prospects using Melis CMS Prospects | > | Download .zip .tar.gz | > | Support forum | > | Blog | > | Latest changes |
|
Groups | Screenshots | Applications | Files |
Groups |
PHP 5 | Classes using PHP 5 specific features | View top rated classes |
Content management | Components and tools to manage content | View top rated classes |
Business | Components to help in the activities of businesses | View top rated classes |
Applications | Full applications that perform useful tasks | View top rated classes |
Screenshots | / | etc | / | MarketPlace | / | images |
|
Innovation Award |
November 2022 Nominee Vote |
Every good business needs market research to find new potential sales customers. A prospect is a person or a company that can be a customer in the future. Turning an opportunity into a customer is a process that can take time because that process needs to go through several phases. The Melis CMS is a PHP content management system that can be extended with additional modules. This package implements a module for the Melis CMS that allows users of a site that uses this content management system to keep track of business sales prospects until they become paying customers. Manuel Lemos |
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Files |
File | Role | Description | ||
---|---|---|---|---|
config (7 files, 2 directories) | ||||
etc (1 directory) | ||||
install (2 directories) | ||||
language (2 files) | ||||
public (5 directories) | ||||
src (1 file, 5 directories) | ||||
test (2 files, 1 directory) | ||||
view (1 directory) | ||||
CHANGELOG.md | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
README.md | Doc. | Documentation |
Files | / | config |
File | Role | Description | ||
---|---|---|---|---|
dashboard-plugins (1 file) | ||||
plugins (1 file) | ||||
app.gdpr.php | Aux. | Auxiliary script | ||
app.interface.php | Aux. | Auxiliary script | ||
app.microservice.php | Aux. | Auxiliary script | ||
app.tools.php | Aux. | Auxiliary script | ||
diagnostic.config.php | Aux. | Auxiliary script | ||
module.config.php | Class | Class source | ||
module.load.php | Aux. | Auxiliary script |
Files | / | config | / | dashboard-plugins |
File | Role | Description |
---|---|---|
MelisCmsProspectsS...csPlugin.config.php | Aux. | Auxiliary script |
Files | / | config | / | plugins |
File | Role | Description |
---|---|---|
MelisCmsProspectsS...rmPlugin.config.php | Aux. | Auxiliary script |
Files | / | install | / | dbdeploy |
File | Role | Description |
---|---|---|
20031301_cms_prospects_update.sql | Data | Auxiliary data |
7102318_cms_prospects_update.sql | Data | Auxiliary data |
712618_cms_prospects_install.sql | Data | Auxiliary data |
Files | / | install | / | sql |
File | Role | Description |
---|---|---|
setup_structure.sql | Data | Auxiliary data |
update.sql | Data | Auxiliary data |
Files | / | language |
File | Role | Description |
---|---|---|
en_EN.interface.php | Aux. | Auxiliary script |
fr_FR.interface.php | Aux. | Auxiliary script |
Files | / | public |
Files | / | public | / | assets | / | flotchart |
File | Role | Description |
---|---|---|
dashboard-bar-chart.js | Data | Auxiliary data |
dashboard-line-chart.js | Data | Auxiliary data |
Files | / | public | / | js | / | tools |
File | Role | Description |
---|---|---|
prospects.theme.tool.js | Data | Auxiliary data |
prospects.tool.js | Data | Auxiliary data |
Files | / | public | / | plugins | / | images |
File | Role | Description |
---|---|---|
MelisCmsProspectsS...ormPlugin_thumb.jpg | Icon | Icon image |
MelisCmsProspectsStatisticsPlugin.jpg | Icon | Icon image |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Controller (3 files, 2 directories) | ||||
Form (1 directory) | ||||
Listener (12 files) | ||||
Model (4 files, 1 directory) | ||||
Service (3 files) | ||||
Module.php | Class | Class source |
Files | / | src | / | Controller |
File | Role | Description | ||
---|---|---|---|---|
DashboardPlugins (1 file) | ||||
Plugin (1 file) | ||||
MelisCmsProspectsT...ItemsController.php | Class | Class source | ||
MelisCmsProspectsThemesController.php | Class | Class source | ||
ToolProspectsController.php | Class | Class source |
Files | / | src | / | Controller | / | DashboardPlugins |
File | Role | Description |
---|---|---|
MelisCmsProspectsStatisticsPlugin.php | Class | Class source |
Files | / | src | / | Controller | / | Plugin |
File | Role | Description |
---|---|---|
MelisCmsProspectsShowFormPlugin.php | Class | Class source |
Files | / | src | / | Form | / | Factory |
File | Role | Description |
---|---|---|
ProspectNameSelectFactory.php | Class | Class source |
ProspectThemeItemSelectFactory.php | Class | Class source |
ProspectThemeSelectFactory.php | Class | Class source |
Files | / | src | / | Listener |
File | Role | Description |
---|---|---|
MelisCmsProspectFl...ssengerListener.php | Class | Class source |
MelisCmsProspectsG...eteUserListener.php | Class | Class source |
MelisCmsProspectsG...etEmailListener.php | Class | Class source |
MelisCmsProspectsG...uleListListener.php | Class | Class source |
MelisCmsProspectsG...stUsersListener.php | Class | Class source |
MelisCmsProspectsG...agsListListener.php | Class | Class source |
MelisCmsProspectsG...stUsersListener.php | Class | Class source |
MelisCmsProspectsG...rDeleteListener.php | Class | Class source |
MelisCmsProspectsG...ExtractListener.php | Class | Class source |
MelisCmsProspectsG...serInfoListener.php | Class | Class source |
MelisCmsProspectsT...DisplayListener.php | Class | Class source |
MelisCmsProspectsT...ionTypeListener.php | Class | Class source |
Files | / | src | / | Model |
File | Role | Description | ||
---|---|---|---|---|
Tables (4 files) | ||||
MelisCmsProspectsTheme.php | Class | Class source | ||
MelisCmsProspectsThemeItem.php | Class | Class source | ||
MelisCmsProspectsThemeItemTrans.php | Class | Class source | ||
MelisProspects.php | Class | Class source |
Files | / | src | / | Model | / | Tables |
File | Role | Description |
---|---|---|
MelisCmsProspectsThemeItemTable.php | Class | Class source |
MelisCmsProspectsThemeItemTransTable.php | Class | Class source |
MelisCmsProspectsThemeTable.php | Class | Class source |
MelisProspectTable.php | Class | Class source |
Files | / | src | / | Service |
File | Role | Description |
---|---|---|
MelisCmsProspectsG...toDeleteService.php | Class | Class source |
MelisCmsProspectsService.php | Class | Class source |
MelisCmsProspectsServiceInterface.php | Class | Class source |
Files | / | test |
File | Role | Description | ||
---|---|---|---|---|
MelisCmsProspectsTest (1 directory) | ||||
Bootstrap.php | Example | Example script | ||
phpunit.xml | Data | Auxiliary data |
Files | / | test | / | MelisCmsProspectsTest | / | Controller |
File | Role | Description |
---|---|---|
MelisCmsProspectsControllerTest.php | Class | Class source |
Files | / | view | / | melis-cms-prospects |
File | Role | Description | ||
---|---|---|---|---|
dashboard-plugins (1 file) | ||||
melis-cms-prospects-theme-items (14 files) | ||||
melis-cms-prospects-themes (12 files) | ||||
plugins (3 files) | ||||
tool-prospects (22 files) |
Files | / | view | / | melis-cms-prospects | / | dashboard-plugins |
File | Role | Description |
---|---|---|
prospects-statistics.phtml | Example | Example script |
Files | / | view | / | melis-cms-prospects | / | melis-cms-prospects-theme-items |
File | Role | Description |
---|---|---|
delete.phtml | Example | Example script |
edit.phtml | Example | Example script |
item-list.phtml | Example | Example script |
limit.phtml | Data | Auxiliary data |
refresh.phtml | Example | Example script |
search.phtml | Data | Auxiliary data |
tool-container.phtml | Example | Example script |
tool-content.phtml | Example | Example script |
tool-header-add.phtml | Example | Example script |
tool-header.phtml | Example | Example script |
tool-modal-code-container.phtml | Example | Example script |
tool-modal-code-content.phtml | Example | Example script |
tool-modal-container.phtml | Example | Example script |
tool-modal-content.phtml | Example | Example script |
Files | / | view | / | melis-cms-prospects | / | melis-cms-prospects-themes |
File | Role | Description |
---|---|---|
delete.phtml | Example | Example script |
edit.phtml | Example | Example script |
item-list.phtml | Example | Example script |
limit.phtml | Data | Auxiliary data |
refresh.phtml | Example | Example script |
search.phtml | Data | Auxiliary data |
tool-container.phtml | Example | Example script |
tool-content.phtml | Example | Example script |
tool-header-add.phtml | Example | Example script |
tool-header.phtml | Example | Example script |
tool-modal-container.phtml | Example | Example script |
tool-modal-content.phtml | Example | Example script |
Files | / | view | / | melis-cms-prospects | / | plugins |
File | Role | Description |
---|---|---|
prospect-melis-modal-form-tab-1.phtml | Example | Example script |
prospect-melis-modal-form-tab-2.phtml | Example | Example script |
prospects-form.phtml | Example | Example script |
Files | / | view | / | melis-cms-prospects | / | tool-prospects |
Download all files: melis-cms-prospects.tar.gz melis-cms-prospects.zip NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
|
Files |
File | Role | Description | ||
---|---|---|---|---|
config (7 files, 2 directories) | ||||
etc (1 directory) | ||||
install (2 directories) | ||||
language (2 files) | ||||
public (5 directories) | ||||
src (1 file, 5 directories) | ||||
test (2 files, 1 directory) | ||||
view (1 directory) | ||||
CHANGELOG.md | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
README.md | Doc. | Documentation |
Files | / | config |
File | Role | Description | ||
---|---|---|---|---|
dashboard-plugins (1 file) | ||||
plugins (1 file) | ||||
app.gdpr.php | Aux. | Auxiliary script | ||
app.interface.php | Aux. | Auxiliary script | ||
app.microservice.php | Aux. | Auxiliary script | ||
app.tools.php | Aux. | Auxiliary script | ||
diagnostic.config.php | Aux. | Auxiliary script | ||
module.config.php | Class | Class source | ||
module.load.php | Aux. | Auxiliary script |
Files | / | config | / | dashboard-plugins |
File | Role | Description |
---|---|---|
MelisCmsProspectsS...csPlugin.config.php | Aux. | Auxiliary script |
Files | / | config | / | plugins |
File | Role | Description |
---|---|---|
MelisCmsProspectsS...rmPlugin.config.php | Aux. | Auxiliary script |
Files | / | install | / | dbdeploy |
File | Role | Description |
---|---|---|
20031301_cms_prospects_update.sql | Data | Auxiliary data |
7102318_cms_prospects_update.sql | Data | Auxiliary data |
712618_cms_prospects_install.sql | Data | Auxiliary data |
Files | / | install | / | sql |
File | Role | Description |
---|---|---|
setup_structure.sql | Data | Auxiliary data |
update.sql | Data | Auxiliary data |
Files | / | language |
File | Role | Description |
---|---|---|
en_EN.interface.php | Aux. | Auxiliary script |
fr_FR.interface.php | Aux. | Auxiliary script |
Files | / | public |
Files | / | public | / | assets | / | flotchart |
File | Role | Description |
---|---|---|
dashboard-bar-chart.js | Data | Auxiliary data |
dashboard-line-chart.js | Data | Auxiliary data |
Files | / | public | / | js | / | tools |
File | Role | Description |
---|---|---|
prospects.theme.tool.js | Data | Auxiliary data |
prospects.tool.js | Data | Auxiliary data |
Files | / | public | / | plugins | / | images |
File | Role | Description |
---|---|---|
MelisCmsProspectsS...ormPlugin_thumb.jpg | Icon | Icon image |
MelisCmsProspectsStatisticsPlugin.jpg | Icon | Icon image |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Controller (3 files, 2 directories) | ||||
Form (1 directory) | ||||
Listener (12 files) | ||||
Model (4 files, 1 directory) | ||||
Service (3 files) | ||||
Module.php | Class | Class source |
Files | / | src | / | Controller |
File | Role | Description | ||
---|---|---|---|---|
DashboardPlugins (1 file) | ||||
Plugin (1 file) | ||||
MelisCmsProspectsT...ItemsController.php | Class | Class source | ||
MelisCmsProspectsThemesController.php | Class | Class source | ||
ToolProspectsController.php | Class | Class source |
Files | / | src | / | Controller | / | DashboardPlugins |
File | Role | Description |
---|---|---|
MelisCmsProspectsStatisticsPlugin.php | Class | Class source |
Files | / | src | / | Controller | / | Plugin |
File | Role | Description |
---|---|---|
MelisCmsProspectsShowFormPlugin.php | Class | Class source |
Files | / | src | / | Form | / | Factory |
File | Role | Description |
---|---|---|
ProspectNameSelectFactory.php | Class | Class source |
ProspectThemeItemSelectFactory.php | Class | Class source |
ProspectThemeSelectFactory.php | Class | Class source |
Files | / | src | / | Listener |
File | Role | Description |
---|---|---|
MelisCmsProspectFl...ssengerListener.php | Class | Class source |
MelisCmsProspectsG...eteUserListener.php | Class | Class source |
MelisCmsProspectsG...etEmailListener.php | Class | Class source |
MelisCmsProspectsG...uleListListener.php | Class | Class source |
MelisCmsProspectsG...stUsersListener.php | Class | Class source |
MelisCmsProspectsG...agsListListener.php | Class | Class source |
MelisCmsProspectsG...stUsersListener.php | Class | Class source |
MelisCmsProspectsG...rDeleteListener.php | Class | Class source |
MelisCmsProspectsG...ExtractListener.php | Class | Class source |
MelisCmsProspectsG...serInfoListener.php | Class | Class source |
MelisCmsProspectsT...DisplayListener.php | Class | Class source |
MelisCmsProspectsT...ionTypeListener.php | Class | Class source |
Files | / | src | / | Model |
File | Role | Description | ||
---|---|---|---|---|
Tables (4 files) | ||||
MelisCmsProspectsTheme.php | Class | Class source | ||
MelisCmsProspectsThemeItem.php | Class | Class source | ||
MelisCmsProspectsThemeItemTrans.php | Class | Class source | ||
MelisProspects.php | Class | Class source |
Files | / | src | / | Model | / | Tables |
File | Role | Description |
---|---|---|
MelisCmsProspectsThemeItemTable.php | Class | Class source |
MelisCmsProspectsThemeItemTransTable.php | Class | Class source |
MelisCmsProspectsThemeTable.php | Class | Class source |
MelisProspectTable.php | Class | Class source |
Files | / | src | / | Service |
File | Role | Description |
---|---|---|
MelisCmsProspectsG...toDeleteService.php | Class | Class source |
MelisCmsProspectsService.php | Class | Class source |
MelisCmsProspectsServiceInterface.php | Class | Class source |
Files | / | test |
File | Role | Description | ||
---|---|---|---|---|
MelisCmsProspectsTest (1 directory) | ||||
Bootstrap.php | Example | Example script | ||
phpunit.xml | Data | Auxiliary data |
Files | / | test | / | MelisCmsProspectsTest | / | Controller |
File | Role | Description |
---|---|---|
MelisCmsProspectsControllerTest.php | Class | Class source |
Files | / | view | / | melis-cms-prospects |
File | Role | Description | ||
---|---|---|---|---|
dashboard-plugins (1 file) | ||||
melis-cms-prospects-theme-items (14 files) | ||||
melis-cms-prospects-themes (12 files) | ||||
plugins (3 files) | ||||
tool-prospects (22 files) |
Files | / | view | / | melis-cms-prospects | / | dashboard-plugins |
File | Role | Description |
---|---|---|
prospects-statistics.phtml | Example | Example script |
Files | / | view | / | melis-cms-prospects | / | melis-cms-prospects-theme-items |
File | Role | Description |
---|---|---|
delete.phtml | Example | Example script |
edit.phtml | Example | Example script |
item-list.phtml | Example | Example script |
limit.phtml | Data | Auxiliary data |
refresh.phtml | Example | Example script |
search.phtml | Data | Auxiliary data |
tool-container.phtml | Example | Example script |
tool-content.phtml | Example | Example script |
tool-header-add.phtml | Example | Example script |
tool-header.phtml | Example | Example script |
tool-modal-code-container.phtml | Example | Example script |
tool-modal-code-content.phtml | Example | Example script |
tool-modal-container.phtml | Example | Example script |
tool-modal-content.phtml | Example | Example script |
Files | / | view | / | melis-cms-prospects | / | melis-cms-prospects-themes |
File | Role | Description |
---|---|---|
delete.phtml | Example | Example script |
edit.phtml | Example | Example script |
item-list.phtml | Example | Example script |
limit.phtml | Data | Auxiliary data |
refresh.phtml | Example | Example script |
search.phtml | Data | Auxiliary data |
tool-container.phtml | Example | Example script |
tool-content.phtml | Example | Example script |
tool-header-add.phtml | Example | Example script |
tool-header.phtml | Example | Example script |
tool-modal-container.phtml | Example | Example script |
tool-modal-content.phtml | Example | Example script |
Files | / | view | / | melis-cms-prospects | / | plugins |
File | Role | Description |
---|---|---|
prospect-melis-modal-form-tab-1.phtml | Example | Example script |
prospect-melis-modal-form-tab-2.phtml | Example | Example script |
prospects-form.phtml | Example | Example script |
Files | / | view | / | melis-cms-prospects | / | tool-prospects |
Download all files: melis-cms-prospects.tar.gz melis-cms-prospects.zip NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
|