Dear All,
Joomla version : 3.43
Virtuemart version : 3.09
I am in the process of working on a uikit (yootheme) override of a VM3 custom-field plugin (catproduct by SMPlanet)
The plugin is as far as I can understand overridable, and is located in /plugins/vmcustom/
the main plugin folder "catproduct" contains a further folder, also called "catproduct", which contains a number of folders, among which tmpl, containing the template .php file (default.php in this case).
My understanding is that one should copy the folder "catproduct", contained in
/plugins/vmcustom/catproduct
to
/templates/[theme_name]/html/vmcustom
Strangely though, Virtuemart does not seem to be reading from the tmpl default.php file in
/templates/[theme_name]/html/vmcustom/catproduct/tmpl
but only from
/plugins/vmcustom/catproduct/tmpl
e.g it seems Virtuemart is not loading/accessing the custom-field override
Am I doing something obviously wrong?
thank you all for any comments you may have
Giacomo Bruzzo
Hello You have missed the path:
plugins/vmcustom/catproduct
should be copied to
/templates/[theme_name]/html/plugins/vmcustom/catproduct
regards
Jörgen @ Kreativ Fotografi
Dear Jorgen,
thank you for your response.
What you are suggesting is though exactly what I think I have done.
Please see the attached image to explain / clarify
In fact I
1. created a new folder "vmcustom" in /template/[theme_name]/html
2. I copied the entire folder "catproduct" from
/plugins/vmcustom
to
/template/[theme_name]/html
Have I made an obvious mistake?
Kind regards
Giacomo Bruzzo
Hello
Joomla reads the view not from tmpl/default in the override. It reads from the catproduct directory. The whole structure is not preserved into the html directory. The tmpl level is not used there.
Regards
Jörgen @ kreativ fotografi
Dear Jörgen
I get now, thank you for the input.
I will have to copy the template .php file directly to the catproduct directory.
Thank you in advance
Giacomo Bruzzo
You are welcome :)
Jörgen @ Kreativ Fotografi