Author Topic: Editor custom field doesn't show editor on editing the product if not TinyMCE  (Read 9969 times)

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
... more than 20000 ref to edit and this problem is amazingly important ...

Hahaha, yes that is the right attitude. A small piece of the whole thing, for most people completly unimportant, but if you need it, then it can turn out as blocker.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3697
  • using Matomo instead of Google Analytics
I have more than 20000 ref to edit and this problem is amazingly important ...

When I have to edit a lot of database entries, I often use "HeidiSQL", a free mysql client, to edit the products directly in the database table. Saves a lot of clicks compared to using any Joomla editor.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Datatonic

  • Jr. Member
  • **
  • Posts: 95
    • Datatonic
I am having the same problem but with jckeditor.

Does anyone know how to call an instance of that instead of tinymce?

Thanks.

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3697
  • using Matomo instead of Google Analytics
I am having the same problem but with jckeditor.

As far as I know, VM uses a classname to identify editors. TinyMCE and JCE editors do have this classname to identify themselves. The other editors don't.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Datatonic

  • Jr. Member
  • **
  • Posts: 95
    • Datatonic
Ok so how do I call either .... just for this instance when JCK is default.

I really don't want to put the client in a position of having to switch out user or default editor to edit these fields with a WYSIWYG editor.

JCK Calls fine for product descriptions with no core edits.

Any pointers?

Thanks.

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3697
  • using Matomo instead of Google Analytics
...so how do I call either .... just for this instance when JCK is default.

Sorry, I have no idea at the moment. Maybe somebody else has. Personally I'm using JCE because that one works.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Nenidd

  • Beginner
  • *
  • Posts: 3
Hello,

I try to install your path, but i don't understand the second part.

Code: [Select]
Index: components/com_virtuemart/views/product/tmpl/product_edit_custom.php
===================================================================
--- components/com_virtuemart/views/product/tmpl/product_edit_custom.php (revision 5689)
+++ components/com_virtuemart/views/product/tmpl/product_edit_custom.php (working copy)
@@ -239,4 +239,4 @@
 
  //onsole.log(jQuery('#customfieldsTable').data('events'));
 
-</script>
\ No newline at end of file
+</script>

What I did make?

I work with joomla 2.5, Virtuemart 2.0.

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3697
  • using Matomo instead of Google Analytics
I work with joomla 2.5, Virtuemart 2.0.
VirtueMart 2.0 is already 1 ½ years old. Use one of the latest versions (2.0.20b stable or a 2.0.21x developer version)
There is no need to alter the code. TinyMCE and JCE editors do work with newer versions of VM.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Nenidd

  • Beginner
  • *
  • Posts: 3
So, i could change and it was work again?

I'm work on 2.0.6 exactly. And this bug make me crazy.

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3697
  • using Matomo instead of Google Analytics
Which editor do you use? TinyMCE and JCE 2.2.1 or higher do work within VirtueMart. Other editiors might not have implemented support for VirtueMart.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Nenidd

  • Beginner
  • *
  • Posts: 3
I make the upload! And it's work perfectly!
Thanks for you answer!

OpenGlobal

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 316
    • OpenGlobal E-commerce Web Design in Gloucester
This should be fixed in the next release. I've implemented the proposed code change.

OpenGlobal E-commerce