Saturday, November 12, 2011

Show view does not accept actions parameter in sfAdminThemejRollerPlugin

Change getShowActions() method in plugins / sfAdminThemejRollerPlugin / data / generator / sfDoctrineModule / joller / parts / showConfiguration.php to this:
public function getShowActions()
  {
    return <?php echo isset($this->config['show']['actions']) ? $this->asPhp($this->config['show']['actions']) : "array(  '_list' => NULL,  '_edit' => NULL, '_delete' => NULL)" ?>;
    <?php unset($this->config['show']['actions']) ?>
  }

Source and Thanks to Ton Sharp.

No comments:

Post a Comment