Embed Videos in Item Description

Phoca Cart - complex e-commerce extension
RRRRR
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Feb 2016, 13:56

Embed Videos in Item Description

Post by RRRRR »

Hello,
do You can tell me, how can I add embed videos in Item description, please? When I add via source code by TinyMCE, after saving doesńt adding on item page. When I try embedding video on article page on Joomla, is OK... PhocaCart is great component :twisted: , good job!
Thank You so much and have a nice day
Vlada
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48023
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Embed Videos in Item Description

Post by Jan »

Hi, try to check TinyMCE eidor parameters - to accept the video code. When this is working Ok for the article, try to check the rights in XML of the description:

administrator\components\com_phocacart\models\forms\phocacartitem.xml

Change from:

Code: Select all

<field name="description" type="editor" buttons="true" hide="pagebreak,readmore" class="inputbox" label="COM_PHOCACART_FIELD_DESCRIPTION_LABEL" filter="safehtml" description="COM_PHOCACART_FIELD_DESCRIPTION_DESC" />
to:

Code: Select all

<field name="description" type="editor" buttons="true" hide="pagebreak,readmore" class="inputbox" label="COM_PHOCACART_FIELD_DESCRIPTION_LABEL" filter="raw" description="COM_PHOCACART_FIELD_DESCRIPTION_DESC" />
In next version, I am planning to add specific field for video in product edit. This video should be displayed in detail of product.

Jan
If you find Phoca extensions useful, please support the project
RRRRR
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Feb 2016, 13:56

Re: Embed Videos in Item Description

Post by RRRRR »

You are Great! That is worked for me, when I edit xml file :wink:
Thank You very much for your great support!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48023
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Embed Videos in Item Description

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply