Hi,
I have a problem with the product details page view override.
This seem to work fine o my localhost but when loaded on to the hosting server it doesn't seem to work as it should.
I have create a new view that I want to apply for one particular product. This owkr great on the localhost (see attached image). But when I try the same on the the hosting server it seems the product details view assigned to the product is ignored and it is instead suing the default view.
Link to shop http://vu.bohemiadesign.com.au/index.php?option=com_virtuemart&view=category&virtuemart_category_id=6&Itemid=732
The product assigned with different view is Registration form.
If anyone can shed some light on this would be much appricated.
Thanks,
johk
[attachment cleanup by admin]
Hi,
Even if I apply the modified view to another product I still have the same problem – ie view doen't change. The view shouldn't have an image. As I mentioned it works ok on my local setup (WAMP) but for some reason not on the hosting server running php 5.3.13
Thanks,
johk
johk
did you do a layout override?
http://forum.virtuemart.net/index.php?topic=90935.msg298367#msg298367
Yes that is what I have done - sorry could comeup with the right acronym.
Would really baffels me is that it is working on my localhost but not on the server ??
Thanks,
johk
how did you assign the "view"
are you overriding the default view?
if not, does that work?
Hi,
It seems no matter what view I am trying to override with it always pick the 'default' view.
If I for example select my customised view for product layouts under Configuration/Templates it still show the default view.
Please attached 2 screen shot of my settings.
Thanks,
johk
[attachment cleanup by admin]
In the product editor you have Product Details Page set to No override. It should be set to Default (ie you do not even click in that box) or to Regf if that is the name of your override file.
Hi,
Thanks for replying.
I have tried setting Product Details Page to Regf as well but it still doesn't work – it still shows the default view.
I have also tried to set Default under Configuration/Templates for Product Details Page and then override this for those product where required – but it still doesn't work.
As I mentioned it works on my localhost but for some reason it doesn't work on the server.
Thanks,
johk
Hello,
Where have you place this override files? Under joomla_folder/templates/your_joomla_template/html/com_virtuemart/productdetails?
What's the name of file you have placed? default.php? or something else?
Regards
Hi,
I changed the name from Regf.php to regf.php and it now works - ie all characters lowercase.
I remeber I had similar issue a while ago with a different component (can't rememeber which one) and all it was that I had an capitalisedthe file name.
johk
Hello,
This is not related to vm or joomla, capitalize letters have influence when using linux hosting, because linux file system works like that. On your local installation using windows as operating system this is not an issue, but on linux the have to call the file with the exact file name :)
Regards