Pixelpost Forum

Pixelpost Forum (http://www.pixelpost.org/forum/index.php)
-   Hacks and Modifications (http://www.pixelpost.org/forum/forumdisplay.php?f=16)
-   -   WYSIWYG editor for Pixelpost! (http://www.pixelpost.org/forum/showthread.php?t=2675)

raminia 11-18-2005 11:26 AM

WYSIWYG editor for Pixelpost (Done!)
 
I made a WYSIWYG editor for PP out of tiny mce.
To use it
  1. Download the zip file. It includes a folder named "tiny_mce". Copy it to includes directory of your pohotoblog.
    Then you will have a directory like this
    myphotoblog_path/includes/tiny_mce
  2. Open the admin/index.php file in an editor and append the line 188
    HTML Code:

    <script language="javascript" type="text/javascript" src="../includes/tiny_mce/tiny_mce.js"></script>
    <script language="javascript" type="text/javascript">
    tinyMCE.init({
            mode : "textareas",
            theme : "advanced",
            theme_advanced_buttons1 : "bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright, justifyfull,bullist,numlist,undo,redo,link,unlink",
            theme_advanced_buttons2 : "",
            theme_advanced_buttons3 : "",
            theme_advanced_toolbar_location : "top",
            theme_advanced_toolbar_align : "left",
            theme_advanced_path_location : "bottom",
            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]"
    });
    </script>

    after </script> and before </head>.

you may customize the appreance of the editor as you like afterwards...

Dowload Link:
http://www.raminia.com/temp/tiny_mce.zip

blinking8s 11-18-2005 11:36 AM

sweetness...im sure some users will love this

raminia 11-18-2005 11:56 AM

in PP 1.5 I'll make an admin-addon for it. no hack.

Joe[y] 11-18-2005 04:04 PM

i'll wait for the addon i think! great idea!!

brian connolly 12-04-2005 02:03 AM

TinyMCE 2.0 Final released
 
http://sourceforge.net/forum/forum.php?forum_id=516501

raminia 12-04-2005 06:32 AM

Quote:

Originally Posted by brian connolly

cool I'll consider this in the addon release.

Sergio de la Torre 12-04-2005 09:58 AM

I dont know why but nothing happens

Sergio

raminia 12-04-2005 10:00 AM

Quote:

Originally Posted by Sergio de la Torre
I dont know why but nothing happens

Sergio

when where? how? who?

did you add the header? (modifying the admin/index.php)

hicks0r 12-15-2005 10:17 PM

and If I want to add some html code to the post ? tiny_mce doesn't have the button tu swich to code or nocoded

Any solution ?

hicks0r 12-15-2005 10:51 PM

I think I got the answer -> https://addons.mozilla.org/extension...fo.php?id=1449

I uninstalled tiny_mce and start using "Xinha! here" .... it's great . Try it !


All times are GMT. The time now is 01:49 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.