Is there a way to get the output of only 1 widget, so we're able to include this in custom pages? Like:
http://community.invisionpower.com/blog/1174/entry-5434-ipcontent-21-dev-update-external-widgets/
reason i'm asking for this is, that i have a block/widget, which i'd like to reload automatic, but i have no clue if i can access only this 1
2. question
If this (question 1) is possible, is there a way to send params to the block models?
And a small clean code suggestion:
you could define a
abstract block class with a abstract getModule method which have to be the parent of all block php files.
So it would be sure, that they have all necessary methods are implemented (ok ATM it's only 1, but who knows what the feature brings....
).
Same thing with the controllers.
All controllers inside EWRporta have the same method
PHP:
public $perms;
public function _preDispatch($action)
{
parent::_preDispatch($action);
$this->perms = $this->getModelFromCache('EWRporta_Model_Perms')->getPermissions();
}
this could also be placed in a own file, so it wouldn't be necessary to have it in all the controllers if they extend your abstract controller.
(only a suggestion
)
3. have you any plans about a "export module" feature, which creates a zip file with the 2 block files (xml + php)
4. How can we export blocks, which have more then 1 template?
ATM there's only the block css template + main block template, but what if the block have more?