Hello there,
Is it possible to change the TinyMCE standard skin (grey look) to office2007 blue/black/silver skin?
In Joomla TinyMCE settings I can choose between them but it dosnt effect the guestbook..
Thanks.
TinyMCE office2007 blue/black..
-
- Phoca Newbie
- Posts: 3
- Joined: 02 Oct 2009, 16:48
-
- Phoca Newbie
- Posts: 3
- Joined: 02 Oct 2009, 16:48
Re: TinyMCE office2007 blue/black..
Found the solution 1min after posting
sry
Open phocaguestbook.php ( components -> com_phocaguestbook -> helpers )
and search for this function
now just put following into it somewhere between mode, theme, theme, skin, language,...
If you need black or silver editor, add
skin_variant : "black",
or
skin_variant : "silver",
under
.'skin : "o2k7",'. "\n"
eg:

Open phocaguestbook.php ( components -> com_phocaguestbook -> helpers )
and search for this function
Code: Select all
function displaySimpleTinyMCEJS()
{
$js = '<script type="text/javascript">' . "\n";
$js .= 'tinyMCE.init({'. "\n"
.'mode : "textareas",'. "\n"
.'theme : "advanced",'. "\n"
.'skin : "o2k7",'. "\n"
.'language : "en",'. "\n"
.'plugins : "emotions",'. "\n"
.'editor_selector : "mceEditor",'. "\n"
.'theme_advanced_buttons1 : "bold, italic, underline, separator, strikethrough, justifyleft, justifycenter, justifyright, justifyfull, bullist, numlist, undo, redo, link, unlink, separator, emotions",'. "\n"
.'theme_advanced_buttons2 : "",'. "\n"
.'theme_advanced_buttons3 : "",'. "\n"
.'theme_advanced_toolbar_location : "top",'. "\n"
.'theme_advanced_toolbar_align : "left",'. "\n"
.'theme_advanced_path_location : "bottom",'. "\n"
.'extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]"
});' . "\n";
$js .= '</script>';
return $js;
}
Code: Select all
.'skin : "o2k7",'. "\n"
skin_variant : "black",
or
skin_variant : "silver",
under
.'skin : "o2k7",'. "\n"
eg:
Code: Select all
.'skin : "o2k7",'. "\n"
.'skin_variant : "black",'. "\n"
- Jan
- Phoca Hero
- Posts: 48706
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: TinyMCE office2007 blue/black..
Ok, thank you for this information.
Jan
Jan
If you find Phoca extensions useful, please support the project