public function beforeController() { // this code will be executed before the controller }
public function afterController() { // this code will be executed after the controller }
public function beforeRouter() { // this code will be executed before the router }
$this->_injectContent('This content will be injected into the layout')
public static function getWidgetMakerContent() { $websiteHelper = Zend_Controller_Action_HelperBroker::getStaticHelper('website'); return array( 'title' => 'Todo demo', // title of the plugin that will be visible in the widget maker 'content' => 'Todo demo content', // content of the plugin's widget maker section 'icons' => array( $websiteHelper->getUrl() . 'plugins/todo/web/images/todo.png', //icon that will be shown in front of the plugin name ) ); }Now go to your website, open any of the content editors and click on the Widgets tab. You should see something like this
SeoSamba Adds Franchise Marketing Performance Bench...
Understanding that customer reviews, the modern wor...
05/10/2022, Camden (DE) - SeoSamba just announced t...
G2 Names SeoSamba Niche Player in Summer 2022 Marke...