A simple example to create your own extension for AggroWAWI
-
Download the *.zip or clone the repository
-
Copy the contents into your AggroWAWI installation
-
Register the bundle in the file
app/bundles/bundles.inc.php
<?php function get_bundles() { return array( new Aggrosoft\ShirtnetworkBundle\AggrosoftShirtnetworkBundle(), //This is the new entry, adapt to your needs new Aggrosoft\DemoBundle\AggrosoftDemoBundle() ); }
-
Add routing info if you need to have custom controller routes to
src/Aggrosoft/WAWIBundle/Resources/config/routing_bundles.yml
#... demo: resource: "@AggrosoftDemoBundle/Resources/config/routing.yml"
-
Clear the symfony cache
-
Try your bundle, look at the comments in
src/Aggrosoft/DemoBundle/Service/DemoService.php
for more information.
This is just a quick and dirty help to get you started, we will add more documentation ASAP!