smilies in phocaguestbook v2.0.1
-
Andi
- Phoca Newbie

- Posts: 7
- Joined: 31 Mar 2012, 23:11
Re: smilies in phocaguestbook v2.0.1
Thank you! this workaround works great!!! 
-
abmafo
- Phoca Newbie

- Posts: 1
- Joined: 22 May 2013, 03:14
Re: smilies in phocaguestbook v2.0.1
components\com_phocaguestbook\views\guestbook\tmpl
default.php
around line 120
replace
if (function_exists('str_ireplace')) {
$values->content = str_ireplace ('../plugins/editors/tinymce/', 'plugins/editors/tinymce/', $values->content);
} else {
$values->content = str_replace ('../plugins/editors/tinymce/', 'plugins/editors/tinymce/', $values->content);
}
with
if (function_exists('str_ireplace')) {
$values->content = str_ireplace ('../plugins/editors/tinymce/', 'plugins/editors/tinymce/', $values->content);
$values->content = str_ireplace ('../media/editors/tinymce/jscripts/tiny_mce/', 'media/editors/tinymce/jscripts/tiny_mce/', $values->content);
} else {
$values->content = str_replace ('../plugins/editors/tinymce/', 'plugins/editors/tinymce/', $values->content);
$values->content = str_replace ('../media/editors/tinymce/jscripts/tiny_mce/', 'media/editors/tinymce/jscripts/tiny_mce/', $values->content);
}
default.php
around line 120
replace
if (function_exists('str_ireplace')) {
$values->content = str_ireplace ('../plugins/editors/tinymce/', 'plugins/editors/tinymce/', $values->content);
} else {
$values->content = str_replace ('../plugins/editors/tinymce/', 'plugins/editors/tinymce/', $values->content);
}
with
if (function_exists('str_ireplace')) {
$values->content = str_ireplace ('../plugins/editors/tinymce/', 'plugins/editors/tinymce/', $values->content);
$values->content = str_ireplace ('../media/editors/tinymce/jscripts/tiny_mce/', 'media/editors/tinymce/jscripts/tiny_mce/', $values->content);
} else {
$values->content = str_replace ('../plugins/editors/tinymce/', 'plugins/editors/tinymce/', $values->content);
$values->content = str_replace ('../media/editors/tinymce/jscripts/tiny_mce/', 'media/editors/tinymce/jscripts/tiny_mce/', $values->content);
}