Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
How to add WYSIWYG editor in admincp
Lionel
Join Date: Dec 2001
Posts: 3,277

Delray Beach, Florida
by Lionel Lionel is offline 02 Feb 2008

I saw a couple of posts about inquiries on adding an editor in admincp. It's actually quite simple, using an external editor. Downloadd the free TinyMCE editor.

To most people that should be sufficient. If you need upload power (images, flash, movies etc...) they are also selling a couple of extensions to do so, or you could install the free jQuery ajax upload for that editor.

In your application, insert at the top below the print_cp_header. Consult the TinyMCE documentation for adding/removing elements in editor. The one below will insert everything.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In your print_textarea_row, make sure that you disable the large edit text button. You don't need it anymore and it will not work anyway.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That's it. Every textarea in your application will now have a powerful WYSIWYG editor.

It's really a nice editor, you can use preset templates to do your inserts etc ...
Views: 5139
Reply With Quote
Comments
  #2  
Old 19 Feb 2008, 09:42
NicholasMarshal NicholasMarshal is offline
 
Join Date: Jun 2006
fantastic

This is a great article - very handy to add tiny mce to the admincp
Reply With Quote
  #3  
Old 16 Mar 2008, 16:01
dabdoub dabdoub is offline
 
Join Date: Sep 2007
Thank u , but after installation where i could find the editor ?!!!
Reply With Quote
  #4  
Old 26 Mar 2008, 22:55
jim6763nva's Avatar
jim6763nva jim6763nva is offline
 
Join Date: Oct 2005
Real name: Jim
I hate to say this but the instructions to install this are not very clear. What file(s) need to be modified? Where should the MCE files be uploaded to? etc.

Could you add more detail to this please?

Thanks,
Jim
Reply With Quote
  #5  
Old 26 Mar 2008, 23:03
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
This is meant for developers
Reply With Quote
  #6  
Old 29 Mar 2008, 19:55
Opserty Opserty is offline
 
Join Date: Apr 2007
This would have been better if it utilised the vBulletin WYSIWIG editor, instead of requiring the addition of another script.

Was it not possible?
Reply With Quote
  #7  
Old 30 Mar 2008, 01:04
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
I don't think anyone have figured that yet. Specially some scripts would require multiple editors, which so far no one has been able to implement
Reply With Quote
  #8  
Old 27 Aug 2008, 11:44
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Real name: Cor
Hello Lionel,

I hope it’s ok to ask, since I’m not completely sure what it does.
It gives an alternative for the default vB wysiwyg editor right?
__________________
Turning Strigoi? Vampire Academy - Bta.
Reply With Quote
  #9  
Old 18 Nov 2009, 06:59
whem whem is offline
 
Join Date: Apr 2005
hi
this is great idea ..

dose it work with vb 3.8.4 and vbadvanced ..

thank you
Reply With Quote
  #10  
Old 23 Jun 2011, 17:31
THE BLUE DRAGON THE BLUE DRAGON is offline
 
Join Date: Jul 2008
how i can use it with 3.8.5
i hope some one explain more

cuz really i need it .,,.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:28.

Layout Options | Width: Wide Color: