News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

using short codes in custom fields

Started by bonline, July 23, 2014, 20:59:00 PM

Previous topic - Next topic

bonline

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?

GJC Web Design

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?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

bonline

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.


GJC Web Design

Quoteput the code in the desc in an absolute div and position where you want
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

Just use a customfield string and enter it there as string
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/