Backend partial override #311
-
I'm trying to override backend/behaviors/importexportcontroller/partials/_import_db_columns.htm
The log is just to check things are working and I get:
so that looks to have worked. The modified partial is in plugins/technigrafix/catalogue/partials but it doesn't get picked up. If I modify the core partial then that works. Is there something I'm missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It's not documented yet but you can prefix a given ImportExport partial with Apart from that, the only other thing I can think of is if you are on a case sensitive file system and your path doesn't match the actual path on disk 100% then it could cause issues, or if you have permission issues on the folders or files. |
Beta Was this translation helpful? Give feedback.
It's not documented yet but you can prefix a given ImportExport partial with
_import_export
and put it in your controller's folder and it will override the default partials. I.e. if you put_import_export_import_db_columns.htm
inmyauthor/myplugin/controllers/catalogue/
then it would load your local override instead.Apart from that, the only other thing I can think of is if you are on a case sensitive file system and your path doesn't match the actual path on disk 100% then it could cause issues, or if you have permission issues on the folders or files.