Page 1 of 1

How to override, not overwrite html and css in phocamenu PRO

Posted: 26 Nov 2012, 23:03
by jms
How can I add html and css to style my menus without destroying the original phocamenurenderviews.php and phocamenu.css?
In case I make a mistake I want to be able to go back to the original files....and also I don' t want to have to make my custom
changes when I update to a new version.
for example, I want to reduce the width of the "quantity" table cell and use different color font on certain menu items.

Where/how can I customize my menus by simply overriding but not overwriting the files.
I am using phoca restaurant PRO version 2.0.3
Thanks!

Re: How to override, not overwrite html and css in phocamenu

Posted: 27 Nov 2012, 17:19
by Jan
Hi, Phoca Restaurant Menu uses the Joomla!'s MVC, so you can override some of the view and if the rendering comes from render method, you can do some extended class of the render method, which means:

- you will write own views in your template (you are independent to views in component)
- you will call the extended class of render class, this means, the render class will be not changed, but your entended class will be changed.

Jan