Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorcrash_D.
    • CommentTimeAug 8th 2007
     # 1
    hi, i need to integrate a free wysiwyg into an admin panel of a website, i have never dealt with any wysiwyg soft, so please give a piece of advice on this,, i need it to be very easy to integrate, couse im not a pro in programming (even though i do make cms-based sites)... so please, recommend some free wysiwyg editor, which is easy to install and integrate,, thanks
    • CommentAuthorAlexL
    • CommentTimeAug 8th 2007
     # 2
    You 're talking about a textbox with elements like bold, centered and so on?

    AFAIK most popular ones are tinymce and fckeditor
    I like tinymce better, but that's up to you
    they both work by including a .js file and that's it! (of course there are config options)

    If you need it for vanilla try the tinymce or fckeditor extensions
    •  
      CommentAuthor[-Stash-]
    • CommentTimeAug 8th 2007
     # 3
    What AlexL said (although I prefer FCK :P).
    •  
      CommentAuthorcrash_D.
    • CommentTimeAug 8th 2007 edited
     # 4
    thanks... only i doubt the intergration is <ins>only</ins> about including a file... i heard good stuff about fckeditor too.. thanks again
    • CommentAuthorAlexL
    • CommentTimeAug 8th 2007
     # 5
    hey, don't doubt me, I'm god :p

    For tinymce in simple mode it's
    <script language="javascript" type="text/javascript" src="tiny_mce.js"></script>
    <script language="javascript" type="text/javascript">
    tinyMCE.init({
    mode : "textareas",
    theme : "simple"
    });
    </script>

    and
    <textarea name="whatever" rows="10" cols="40">
    Some <b>element</b>
    <p>Some paragraph. <a href="http://www.sourceforge.net">Some link</a></p>
    <img src="example_data/logo.jpg">
    </textarea>


    And that's really it! nothing else to do :-)

    Not sure how it's done in fckeditor, but *should* be similar ;-)
    •  
      CommentAuthorDinoboff
    • CommentTimeAug 8th 2007 edited
     # 6
    You should check spaw. It's easy to implement and support UTF8.

    <?php
    include("spaw2/spaw.inc.php");
    $spaw = new SpawEditor("spaw1", 'default content');
    ...
    ?>
    <form action=...
    <?php $spaw->show(); ?>
    </form>



    Also YUI 2.3.0 come with a wysiwyg editor.
    • CommentAuthorAlexL
    • CommentTimeAug 8th 2007
     # 7
    AFAIK every editor supports utf8? as all you have to do is set the form encoding to utf-8
    •  
      CommentAuthorcrash_D.
    • CommentTimeAug 8th 2007
     # 8
    thanks all
    @ AlexL, i did not mean to offend but somehow i thought such extensive functionality required complex setup.. but now, after I have confidured tinymce and am now using it in native language (ru), I truly see its a piece of cake..


    thanks guys,,,

    p.s. love lussumo for real appreciable help..
Add your comments
    Username Password
  • Format comments as