Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
in addition to this i cannot have a two modules of the same type with different
id's
if i have two blog modules of attribute <blog>41</blog> and <blog>47</blog> one
of two will overwrite each others value making it appear i if i select two of
the same type
Original comment by jspe...@gmail.com
on 5 Jan 2011 at 7:43
when i tired to debug PageController.php on the editAction () {
if ($this->_request->isPost() && $form->isValid($_POST)) {
$values = $form->getValues();
i saw that it is a must to have one digitalusControl tag like this
'<digitalusControl type='moduleSelector' id='module' group='news' />'
so that the other modules will be passed as an array of
module[ id's of the other modules ]
but this will have a serious problem
1. for modules having addtional attributes like 'mod_blog'
2. loading values for modules selectors from the database also will have a
problem because this file will load it incorrectly (load-module.phtml) but it
will work only for this one
'<digitalusControl type='moduleSelector' id='module' group='news' />'
Original comment by jspe...@gmail.com
on 5 Jan 2011 at 7:59
Fixed with r782!
Please note that in module's *.form.phtml files the "belomgsTo" attribute has
to be changed from the value "module" to $this->getData('element',
$this->data->get)
Original comment by lowtower1974@gmail.com
on 9 Jan 2011 at 1:55
Original issue reported on code.google.com by
jspe...@gmail.com
on 27 Dec 2010 at 5:47