VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: treodude on April 11, 2014, 15:41:20 PM

Title: Joomla Content Plugin not working in Product Description
Post by: treodude on April 11, 2014, 15:41:20 PM
Hi there VM fourm,

I am having trouble getting a content plugin to work in the product description of VM.
The plugin is AllVideos 4.5 from JoomlaWorks, a video plugin, which uses tags.
The tags themselves are correct, but on the frontend they do not load a Youtube video as they should be.

I am using the JCE editor and have tried switching to TinyMCE, JoomlaCK and none, still no result.
I also have the 'allow Joomla plugins' enabled in the VM config.
Versions: Joomla 2.5.14 and Virtuemart 2.0.22c

Someone over at JoomlaWorks told me I should parse the content plugins, see http://www.joomlaworks.net/forum/allvideos/14480-no-video-shown/55095

Thanks in advance!
Title: Re: Joomla Content Plugin not working in Product Description
Post by: JoomTut on April 11, 2014, 16:39:23 PM
The error also appeared in Joomla! content?

As he said:
QuoteThis is a known issue and has to do with the latest version of some browsers blocking non https content when the page is served via https. The fix will be included in the next release....
Please wait for the next release to be stable.

Title: Re: Joomla Content Plugin not working in Product Description
Post by: treodude on April 16, 2014, 16:13:05 PM
The error does indeed occur in Joomla content as well. It might indeed be due to http and https. Any idea when the next stable release is?
Title: Re: Joomla Content Plugin not working in Product Description
Post by: Maxim Pishnyak on April 16, 2014, 16:21:46 PM
http://dev.virtuemart.net/attachments/download/673/com_virtuemart.2.0.26d_extract_first.zip

You should update your Joomla also.
Title: Re: Joomla Content Plugin not working in Product Description
Post by: treodude on April 16, 2014, 16:52:53 PM
Is updating in all those little steps that important?
I thought the difference between a 2.0.26d and 2.0.22c was neglible.
Well, guess I have to then...
Title: Re: Joomla Content Plugin not working in Product Description
Post by: treodude on April 24, 2014, 09:18:53 AM
I am updating to VM 2.6 and JM 2.5.19, does that make any difference?
Title: Re: Joomla Content Plugin not working in Product Description
Post by: Milbo on April 24, 2014, 10:14:36 AM
It should work then, but you will get the error that creation of pdf failed.

We have the problem that we need an extra option for "use joomla content plugin in pdf". So you need then to modify a bit the core "view.html.php" in the invoice view, just remove the lines doing the content plugins (1-2 lines).
Title: Re: Joomla Content Plugin not working in Product Description
Post by: treodude on April 24, 2014, 10:43:49 AM
To be honest, I don't encounter such an error. However, the videos are now being called, but not loaded.
This is due to http https issues (again), as the console says that the content is mixed and therefore blocked.
Everything on our website is https, but the youtube link it calls is http.
The links should be changed so that the links become https.
However, now I am trying to find the allvideos files, any ideas where to look?

*Update*
Just found it. However, any idea how edit the code in such a way that the link becomes https in all cases?
If required, I can post the code

*Update 2*
The guys over at Joomla Works helped me out with this, if anyone is interested in the solution go to
http://www.joomlaworks.net/forum/allvideos/14480-no-video-shown?start=10#55205

Thanks for all the support once more!
Title: Re: Joomla Content Plugin not working in Product Description
Post by: Milbo on April 24, 2014, 12:19:18 PM
and does it work with the pdf? another solution is that the joomlaworks guys add an if to prevent rendering of the video in the pdf.
Title: Re: Joomla Content Plugin not working in Product Description
Post by: treodude on April 24, 2014, 12:28:36 PM
I don't use a pdf, not that I am aware off.