my config.xml

<?xml version="1.0"?>
                        <mindtwo_formbuildercrfprotection before="Phxsolution_Formbuilder">Mindtwo_Formbuildercrfprotection</mindtwo_formbuildercrfprotection>

and in indexController.php

class Mindtwo_Formbuildercrfprotection_IndexController extends Phxsolution_Formbuilder_IndexController

    public function indexAction()

        $breadcrumbs = $this->getLayout()->getBlock("breadcrumbs");
        $breadcrumbs->addCrumb("home", array(
            "label" => $this->__("Home"),
            "title" => $this->__("Home"),
            "link"  => Mage::getBaseUrl()
        $breadcrumbs->addCrumb("formbuilder", array(
            "label" => $this->__("Formbuilder"),
            "title" => $this->__("Formbuilder")


but it is not working

1 Answer 1

  • Is <formbuilder> the right tag of Phxsolution_Formbuilder module for his controller ? Check his config (Phxsolution_Formbuilder/etc/config.xml and see the correct tag)
  • Try to use the depends in the etc/modules directory when your module is declared, don't put it in the config.xml.
  • Add this :

require_once(Mage::getModuleDir('controllers','Phxsolution_Formbuilder').DS. 'IndexController.php');

instead of this


  • Try not to use long names for your module (Formbuildercrfprotection)
  • yes i have checked it tag is correct and i moved depends in etc/modules but still its not working Jan 7, 2019 at 10:08
  • Try the require once i posted , also add the die in other positions , add it outside the function to see the result. Jan 7, 2019 at 10:57
  • yes i have used require once as you written not working Jan 7, 2019 at 11:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.