Emoticons in tinymce not visible on toolbar

Phoca Guestbook - creating guestbooks in Joomla! CMS
User avatar
l.wymann
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 01 Feb 2014, 12:26

Emoticons in tinymce not visible on toolbar

Post by l.wymann »

Hi

FIrst: thanks for all the great work you're doing, Jan!!!

I'm speaking of Phoca Guestbook 3.0.2 for Joomla 3.x.

Tried to find "Emoticons" in toolbar of tinymce in frontend of the guestbook.
After doing some research, found how you initiate the tinymce edior. So the following solution worked for me.

In file components/com_phocaguestbook/models/fields/phocaeditor.php, around line 99 - 102, where you setup the environment for tinymce, one can set the keyword for emoticons there:
current code:

Code: Select all

//Plugins
plugins : "link image autolink lists ",
// Toolbar
toolbar1: "bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | bullist numlist | undo redo | link unlink anchor",
changing plugins and toolbar1 by adding the keyword emoticons to

Code: Select all

//Plugins
plugins : "link image autolink lists emoticons",
// Toolbar
toolbar1: "bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | bullist numlist | undo redo | link unlink anchor emoticons",
will do the trick.
But of course, if you don't miss emoticons, nothing needs to be done. :|

Thanks again. Tought you might want to know, in case you haven't seen it already...

Lukas
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Emoticons in tinymce not visible on toolbar

Post by Jan »

Hi, thank you very much for the info.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Emoticons in tinymce not visible on toolbar

Post by Jan »

Hi, set in version 3.0.3
If you find Phoca extensions useful, please support the project
Post Reply