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!
How to override, not overwrite html and css in phocamenu PRO
-
- Phoca Newbie
- Posts: 3
- Joined: 26 Nov 2012, 22:45
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to override, not overwrite html and css in phocamenu
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
- 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
If you find Phoca extensions useful, please support the project