Restoring Form Block
Permalink
Hi
Long story short I need to restore the core Form block in 5.7 due to some override that did not work. I tried the method shown inhttp://legacy-documentation.concrete5.org/tutorials/reinstall-a-los... to see if that worked as follows :
1. Delete Form Block
2. copy concrete/blocks/form to application/blocks
2. change to namespace Application\Block\Form
3. Install block again
This has worked and form block is back to normal but am I now stuck with the override in the application/blocks ???
when I remove I get Class '\Application\Block\Form\Controller' not found.
Long story short I need to restore the core Form block in 5.7 due to some override that did not work. I tried the method shown inhttp://legacy-documentation.concrete5.org/tutorials/reinstall-a-los... to see if that worked as follows :
1. Delete Form Block
2. copy concrete/blocks/form to application/blocks
2. change to namespace Application\Block\Form
3. Install block again
This has worked and form block is back to normal but am I now stuck with the override in the application/blocks ???
when I remove I get Class '\Application\Block\Form\Controller' not found.
After you have removed it, did you clear the cache? It sounds like the overrides cache has that block override stored and needs to be cleared to revert it back.
Thanks , I turned off the cache and refreshed and works now :)