Cannot override Mini-Survey file
Permalink 1 user found helpful
I'm trying to override the minisurvey.php file for the legacy form block.
If I make the edits required to the core file they take effect, but if I copy mini_survey.php file from concrete/blocks/form to application/blocks/form it seems to be ignored.
Cacheing is off. Any ideas?
If I make the edits required to the core file they take effect, but if I copy mini_survey.php file from concrete/blocks/form to application/blocks/form it seems to be ignored.
Cacheing is off. Any ideas?
Did you update the namespace in the file when you copied it over?
Oops no I hadn't.. I have now but it's still not working. I even tried put deliberate typos in the code to make it fall over, but nothing.
Just to check, the namespace should work as follows?
Just to check, the namespace should work as follows?
namespace Application\Block\Form;
Yes, that is the correct namespace.
Ah got it - I forgot to update the namespace in the template file too! Thanks Hutman... can you tell it's Friday afternoon :P