Hey Guys/Girs,
Im new here so be gentle.
Working on "Product Details" layout and got stucked with this original post
"NO MORE THEME. 2.0 uses VIEWS (Layout Override)" http://forum.virtuemart.net/index.php?topic=90935.0 (http://forum.virtuemart.net/index.php?topic=90935.0) dated back to 2011
Many pages links to that topic.
It says:
QuoteDoing a Joomla Template Override is easy.
Open the view folder you want to change, THEN, the tmpl folder.
COPY the "default.php"
THEN< follow the steps below.
In your JOOMLA template folder. You create a folder called "html" then a folder called "com_virtuemart" in it.
Then for each view you want to override. Create a folder for it.
Then place your modified "default.php" an that views folder.
So , to override the product details page. You create YOUR_TEMPLATE/html/com_virtuemart/productdetails/default.php
Doing a Joomla Template override guarantees the view will use your modified default.php
But the thing is, when i open the folder components/com_virtuemart/views/productdetails/tmpl i do have a "default.php" file there, but I want to change "default_showprices.php" file.
My question is, should i move ONLY the "default.php" file?
or any file i'm going to modify?
Thanks for answers.
VM2.6.6
J 2.5.20
move all the files that you are going to modify
Thats what i thought, Thanks
But, I have a problem with editing the file now.
Whenever I update the copied file dafault.php, it wont show any changes (all rights are set to 755)
but when I change the original file it does show changes.
Any thoughts?
Hutson, you said MOVE?
Ok sorted.
Original
/web/components/com_virtuemart/views/virtuemart/tmpl/default.php
forgot about one folder to make;)
Copy
/web/templates/corporate_response/html/com_virtuemart/productdetails/default.php
Hope it helps someone ;)
yep I said move and you moved!
8)
I moved the copy ::)
oops I meant copy!
Damn keyboard has a mind of its' own! :o
It must have been the TIME of the day ;)