VirtueMart 1.1.x [ Old version - no longer supported ] > Mambots, Plugins VM 1.1

adding plugin/mambot to "short description"

(1/10) > >>

side_chain:
Hi friens here at the forum

i trying to add an mp3 player (mambot plugin) into the short description. Although ive cheked the box for intigration (admin page, where you can choose to include mambots) but without any sucess.

Ive read all the threads regarding this, but it seems that it worked on the old VM.

im using the latest VM stable version 1.1 something.

please help me to solve this problem, ive been trying to fix my store for 2 days without any sleep.

Hope for some answers

/Sincerely

Jean

side_chain:
someone please help....

really need this....

jenkinhill:
Plugins can normally only be used within the long description. But they can be used in the short description with a simple code hack.

In shop.browse.php find the following code around line 403


--- Code: ---$product_details = $VM_LANG->_('PHPSHOP_FLYPAGE_LBL');

--- End code ---

Immediately before that line insert the following


--- Code: ---$product_s_desc = vmCommonHTML::ParseContentByPlugins( $product_s_desc );

--- End code ---

shop.browse.php is located in /administrator/components/com_virtuemart/html/

This has been tested with 1 PixelOut Audio Player 1.5.1 on Joomla 1.5.3 with VirtueMart 1.1 final. I do not know if this hack has security implications, but it works for me.

YtseDrummer:
What's the method to use plugin into long description?

PastorJon:

--- Quote from: YtseDrummer on May 23, 2008, 04:06:18 AM ---What's the method to use plugin into long description?

--- End quote ---
VirtueMart - Admin - Configuration.  Check the box that allows plugins to modify product descriptions.

Navigation

[0] Message Index

[#] Next page

Go to full version