VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Zke on January 18, 2014, 00:40:05 AM

Title: Ask Question does not pop up
Post by: Zke on January 18, 2014, 00:40:05 AM
First off. I'm only running Joomla 2.5.8 with VM 2.0.18a. I wanted to updated but when I tried I got countless problems I couldn't fix or understand that I had to reinstall the original versions.

I am using a 3rd party template. When i select the 'Default Product Page Details' to be 'default' in the category settings the Ask a question pop up window works fine. But when I select 'pdf' it doesn't work. So it should just be a template thing.

I can't give you the link to the live site as I have it in maintenance mode till it is complete and ready to go live. How do I allow someone to log in to front end without access to backend?

I have uploaded the pdf template file (as a .txt) that is located  components/com_virtuemart/views/productdetails/tmpl/



[attachment cleanup by admin]
Title: Re: Ask Question does not pop up
Post by: jenkinhill on January 18, 2014, 12:08:47 PM
Quote from: Zke on January 18, 2014, 00:40:05 AM
But when I select 'pdf' it doesn't work. So it should just be a template thing.

Is this a properly constructed template file or a pdf file? If the popup does not work then compare the code with the default file.
Are you using a full commercial template with VM theme? Or just a commercial template while using the default theme?

Quote
I have uploaded the pdf template file (as a .txt) that is located  components/com_virtuemart/views/productdetails/tmpl/

Template files must be .php files so they can be executed.

Note that your versions are seriously out of date and have known critical security issues. Sites with those versions (and later some ones) have already been hacked, so they should not be used on a live commercial site. http://forum.virtuemart.net/index.php?topic=118683.0
Title: Re: Ask Question does not pop up
Post by: Zke on January 18, 2014, 13:38:37 PM
QuoteTemplate files must be .php files so they can be executed.

Yes, I meant that to upload that php file to this forum I had to convert it to a txt as the forum said the .php was not an allowed file type to attach. The actual file on my ftp was a .php.

Anyway, I decided to once again try to update my joomla and vm versions as you suggested but again I have run into countless problems. I will start a different topic with those issues.

Thank you for your help.