VirtueMart Forum

VirtueMart 2 + 3 => Product creation => Topic started by: mattosmat on March 17, 2016, 13:10:13 pm

Title: How to use Joomla content plugins in custom fields
Post by: mattosmat on March 17, 2016, 13:10:13 pm
Hi,

I want to be able to use the Joomla content plugins in editor custom fields. For instance, I would like to list a Phoca Download file or display a YouTube video using allvideos plugin. VM includes this functionality, but only for the description field and not the custom ones (or at least not that I'm aware of)

How can I do this? Any insights?

Thanks.
Title: Re: How to use Joomla content plugins in custom fields
Post by: Studio 42 on March 20, 2016, 22:19:23 pm
If you need to customise custom fields, this need to develop a plugin.
It's not possible to call content plugins in VM customfields and it's hard to know what is the right customfield.
So the best is to write a new plugin that you can call other Joomla content plugin.
Of course, you can check for a customfield ID and call only your content plugin for this, but this is a poor way todo.
Title: Re: How to use Joomla content plugins in custom fields
Post by: dslove on March 26, 2021, 12:17:55 pm
Hi, is this still the status with VM latest version (currently 3.8.8)?

Content plugins will not parse Virtuemart product custom fields?

Thanks,
Alex
Title: Re: How to use Joomla content plugins in custom fields
Post by: pinochico on March 26, 2021, 13:30:39 pm
Quote
Content plugins will not parse Virtuemart product custom fields?

Which content plugin?

3.8.9
Title: Re: How to use Joomla content plugins in custom fields
Post by: dslove on March 26, 2021, 14:54:19 pm
Joomlaworks AllVideos  :)
Title: Re: How to use Joomla content plugins in custom fields
Post by: pinochico on March 26, 2021, 15:32:25 pm
if you want run value from custofield inside content plugin Joomlaworks AllVideos, then you create custom php change in product detail and call content plugin self.
or you can use kkyoutube plugin for VM

You don't need waiting.