Recommend this page to a friend! |
Download |
Info | Documentation | Screenshots | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 60 | All time: 10,495 This week: 43 |
Version | License | PHP version | Categories | |||
melis-cms-prospects 1.0 | The PHP License | 5 | PHP 5, Content management, Business, A... |
Description | Author | |||||||||||||||||||||||
This package provides a Melis CMS module to track business prospects. Innovation Award |
|
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
Screenshots (7) | ||
Files (124) |
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 (124) | / | 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 (124) | / | config | / | dashboard-plugins |
File | Role | Description |
---|---|---|
MelisCmsProspectsS...csPlugin.config.php | Aux. | Auxiliary script |
Files (124) | / | config | / | plugins |
File | Role | Description |
---|---|---|
MelisCmsProspectsS...rmPlugin.config.php | Aux. | Auxiliary script |
Files (124) | / | 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 (124) | / | install | / | sql |
File | Role | Description |
---|---|---|
setup_structure.sql | Data | Auxiliary data |
update.sql | Data | Auxiliary data |
Files (124) | / | language |
File | Role | Description |
---|---|---|
en_EN.interface.php | Aux. | Auxiliary script |
fr_FR.interface.php | Aux. | Auxiliary script |
Files (124) | / | public |
Files (124) | / | public | / | assets | / | flotchart |
File | Role | Description |
---|---|---|
dashboard-bar-chart.js | Data | Auxiliary data |
dashboard-line-chart.js | Data | Auxiliary data |
Files (124) | / | public | / | js | / | tools |
File | Role | Description |
---|---|---|
prospects.theme.tool.js | Data | Auxiliary data |
prospects.tool.js | Data | Auxiliary data |
Files (124) | / | public | / | plugins | / | images |
File | Role | Description |
---|---|---|
MelisCmsProspectsS...ormPlugin_thumb.jpg | Icon | Icon image |
MelisCmsProspectsStatisticsPlugin.jpg | Icon | Icon image |
Files (124) | / | 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 (124) | / | 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 (124) | / | src | / | Controller | / | DashboardPlugins |
File | Role | Description |
---|---|---|
MelisCmsProspectsStatisticsPlugin.php | Class | Class source |
Files (124) | / | src | / | Controller | / | Plugin |
File | Role | Description |
---|---|---|
MelisCmsProspectsShowFormPlugin.php | Class | Class source |
Files (124) | / | src | / | Form | / | Factory |
File | Role | Description |
---|---|---|
ProspectNameSelectFactory.php | Class | Class source |
ProspectThemeItemSelectFactory.php | Class | Class source |
ProspectThemeSelectFactory.php | Class | Class source |
Files (124) | / | 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 (124) | / | 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 (124) | / | 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 (124) | / | src | / | Service |
File | Role | Description |
---|---|---|
MelisCmsProspectsG...toDeleteService.php | Class | Class source |
MelisCmsProspectsService.php | Class | Class source |
MelisCmsProspectsServiceInterface.php | Class | Class source |
Files (124) | / | test |
File | Role | Description | ||
---|---|---|---|---|
MelisCmsProspectsTest (1 directory) | ||||
Bootstrap.php | Example | Example script | ||
phpunit.xml | Data | Auxiliary data |
Files (124) | / | test | / | MelisCmsProspectsTest | / | Controller |
File | Role | Description |
---|---|---|
MelisCmsProspectsControllerTest.php | Class | Class source |
Files (124) | / | 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 (124) | / | view | / | melis-cms-prospects | / | dashboard-plugins |
File | Role | Description |
---|---|---|
prospects-statistics.phtml | Example | Example script |
Files (124) | / | 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 (124) | / | 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 (124) | / | 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 (124) | / | view | / | melis-cms-prospects | / | tool-prospects |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
melis-cms-prospects-2022-11-28.zip 533KB | |
melis-cms-prospects-2022-11-28.tar.gz 490KB | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.