Ticket #1215 (closed enhancement: invalid)
Normal Symfony Modules
| Reported by: | softmanpetro | Owned by: | tboutell |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | apostrophePlugin | Version: | 1.5 |
| Keywords: | sf module | Cc: | |
| Symfony version: | 1.4 |
Description
Hi and thank you for the plugin.
I am playing now with it for a few days but I am still not understanding if it is possible to have a page which combines normal slots and a symfony module generated with
symfony doctrine:generate-module frontend shopprod shopprod
I was able to display it at a local address as
http://www.asandbox.pma/admin/shopprod/index
by replacing url_for with a_for I am also able to navigate to edit and to save or back to list as in a normal Symfony module !
My question was :
HOW COULD I take advantage to have also add content but just switched to a index template of that shopprod module and added
<?php include_component('a', 'standardArea', array('name' => 'body', 'width' => 680, 'toolbar' => 'Main')) ?>
and Bingo ! I was able to add a text content which was saved and redisplayed when revisited page !
Would be this a correct aproach ?
With kind regards
Petronel

