VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: bonline on July 23, 2014, 20:59:00 PM

Title: using short codes in custom fields
Post by: bonline on July 23, 2014, 20:59:00 PM
I am trying to do a popup sizing chart. I have added an extra field as a editor and am trying to enter the short code that goes with simple popup. It is for a jquery or fancy box popup.

{simplepopup link="nameOfPopUp"}Link Text{/simplepopup}

Unfortunately it is showing the code as it is putting paragraph tags around it. How can i make this work? Any ideas?
Title: Re: using short codes in custom fields
Post by: GJC Web Design on July 23, 2014, 22:51:36 PM
you may be lucky to get this to work but.. have you "Enable Joomla Plugin" in Vm config?

but pretty sure that will only work for the description content

put the code in the desc in an absolute div and position where you want?
Title: Re: using short codes in custom fields
Post by: bonline on July 24, 2014, 10:40:07 AM
Yes i tried this, it only works for the description content.

How would i make it work for custom fields as i want the button to appear above the cart.

Title: Re: using short codes in custom fields
Post by: GJC Web Design on July 24, 2014, 13:26:31 PM
Quoteput the code in the desc in an absolute div and position where you want
Title: Re: using short codes in custom fields
Post by: Milbo on July 26, 2014, 16:07:39 PM
Just use a customfield string and enter it there as string