Page 1 of 1

Can't hide path information in javascript editor

Posted: 03 May 2013, 12:53
by rvanlaarhoven
Hi Jan,

I would like to hide the path information that is shown at the bottom of the TinyMCE editor when I want to make a new post.
I have set the parameter "Display Path In Javascript Editor" to "No". I am using Joomla version 2.5.9 and Phoca Guestbook version 2.0.7. I also tried with the default Joomla templates, but that doesn't solve the problem.
Do you know what could be wrong?

Thanks in advance!
Best regards,
René

Re: Can't hide path information in javascript editor

Posted: 07 May 2013, 19:59
by Jan
Hi, it seems that there were some changes in tinymce, I will change it for next version.

Quick fix for now:

edit:
components\com_phocaguestbook\helpers\phocaguestbook.php method: function displaySimpleTinyMCEJS()

Change from:

Code: Select all

if ($displayPath == 1) {
   $js .= 'theme_advanced_path_location : "bottom",'. "\n";
}
To:

Code: Select all

if ($displayPath == 1) {
    $js .= 'theme_advanced_path_location : "bottom",'. "\n";
 } else {
    $js .= 'theme_advanced_statusbar_location : "none",'. "\n";
 }
Jan

Re: Can't hide path information in javascript editor

Posted: 11 May 2013, 14:12
by rvanlaarhoven
Hi Jan,

The solution you offered works fine! :D
Thanks for your support!!

Best regards,
René

Re: Can't hide path information in javascript editor

Posted: 16 May 2013, 22:46
by Jan
Ok