Author Topic: WYSIWYG textarea custom field!  (Read 3868 times)

Actlas

  • Jr. Member
  • **
  • Posts: 69
WYSIWYG textarea custom field!
« on: February 11, 2013, 10:22:14 am »
We have been looking for this for a long time!
This seems to be the solution: http://siteprezentare.ro/2013/02/virtuemart-2-textarea-product-custom-field/



We tried it and it seems to work but when we add products to our cart a blank page appears.
Anybody else had luck with this? We are on VM 2.0.6 and cannot update at this time.


kacper1972

  • Beginner
  • *
  • Posts: 34
Re: WYSIWYG textarea custom field!
« Reply #1 on: February 11, 2013, 11:35:30 am »
Hello

I Have the same problem, it seems that it do not work with the vm 2.0.6. J can't olso update VM


Actlas

  • Jr. Member
  • **
  • Posts: 69
Re: WYSIWYG textarea custom field!
« Reply #2 on: February 11, 2013, 15:15:29 pm »
I tried it on a fresh J 2.5.9 VM 2.0.18 install. The product gets added to the cart but the text entered is nowhere to be found.
I contacted the author. Hopefully this wil get fixed.

MC Web Design

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 23
Re: WYSIWYG textarea custom field!
« Reply #3 on: February 11, 2013, 17:05:02 pm »
Hi guys,

I helped developing this plugin. Can you send me a private message with an admin account to see what the problem is?

MC Web Design

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 23
Re: WYSIWYG textarea custom field!
« Reply #4 on: February 11, 2013, 17:20:44 pm »
For VirtueMart 2.0.6 you don't need to replace cart.php.

MC Web Design

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 23
Re: WYSIWYG textarea custom field!
« Reply #5 on: February 11, 2013, 18:50:19 pm »
Being a javascript based editor, WYSIWYG can be influenced by other javascripts that your template loads.
The first step you need to do is to go to VirtueMart->Configuration->Checkout and uncheck "Display modal popup upon 'Add to cart'". Looks like wysiwyg editor doesn't save the input text if this option in VirtueMart is enable.
Also, go to  VirtueMart->Configuration->Templates and be sure that the options
"Using the VirtueMart jQuery"
"Using the product Scripts"
"Use external google jQuery library"
 are checked.

MC Web Design

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 23
Re: WYSIWYG textarea custom field!
« Reply #6 on: February 11, 2013, 21:33:37 pm »
Sorry Actlas,

Can't really work on your site. I can't overwrite any of the files using ftp. First, I want to sugest to try to update your tinymce files from media/editors/tinymce/jscripts/tiny_mce with the files from the latest version of joomla 2.5.9. Second, uninstall the free version of your VM - textarea and then install the plugin provided by MC Web Design. You don't need to overwrite cart.php. If all these steps don't work, I sugest upgrading to the latest version of Joomla and VirtueMart. I tested the plugin for the latest versions and it works fain. Don't forget to uncheck "Display modal popup upon 'Add to cart'" from VirtueMart->Configuration->Checkout.

MC Web Design

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 23
Re: WYSIWYG textarea custom field!
« Reply #7 on: February 11, 2013, 22:31:09 pm »
I managed to figure it out. I sent you the download link for the modified plugin for VM 2.0.6. For this version of VirtueMart you don't need to overwrite cart.php.

MC Web Design

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 23
Re: WYSIWYG textarea custom field!
« Reply #8 on: February 13, 2013, 11:32:53 am »
We updated the plugin for all stable versions of VirtueMart starting from VM2.0.6 to VM2.0.18a. For now, the plugin for VM2.0.6 doesn't support price by letter option, only price by total input text. For the other versions of VirtueMart the price by letter option works ok. We'll try to fix this issue also. For all versions of the plugin, don't forget to go to VirtueMart->Configuration->Checkout and uncheck "Display modal popup upon 'Add to cart'".

MC Web Design

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 23
Re: WYSIWYG textarea custom field!
« Reply #9 on: February 13, 2013, 18:21:50 pm »
We are proud to announce that we have also fixed the problem with the "price by letter" option for VM 2.0.6.

MC Web Design

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 23
Re: WYSIWYG textarea custom field!
« Reply #10 on: April 28, 2013, 14:55:44 pm »
Also added image upload feature (it uses image upload plugin for TinyMCE provided by http://justboil.me/).

Maxim Pishnyak

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2657
Re: WYSIWYG textarea custom field!
« Reply #11 on: May 03, 2013, 10:39:21 am »
Oh my god anonimucv! Why this thread is not in third party forum??

MC Web Design

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 23
Re: WYSIWYG textarea custom field!
« Reply #12 on: May 03, 2013, 12:36:30 pm »

MC Web Design

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 23
Re: WYSIWYG textarea custom field!
« Reply #13 on: June 20, 2016, 23:46:27 pm »
New plugin works with Joomla 3.8.2.
Demo (Joomla 3.8.2 & VirtueMart 3.2.4): http://virtuemart-textarea.mcwebdesign.ro/