This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

how to using tinymce in symfony

Forum to discuss ExtJS and other JS plugins

how to using tinymce in symfony

by leehandong » Sat Apr 11, 2009 10:22 am

how to using tinymce in symfony.
who can help me, please ?
leehandong
Junior Member
 
Posts: 8
Joined: Wed Apr 08, 2009 11:42 am
Location: vn

Re: how to using tinymce in symfony

by leehandong » Fri Apr 24, 2009 9:20 pm

help me
leehandong
Junior Member
 
Posts: 8
Joined: Wed Apr 08, 2009 11:42 am
Location: vn

Re: how to using tinymce in symfony

by kindrosker » Fri Apr 24, 2009 9:58 pm

you can read about here
http://www.symfony-project.org/book/1_2/10-Forms#chapter_10_ sub_rich_text_editing

it's very simple, just 3 steps
1. download the editor from the project website (http://tinymce.moxiecode.com/)

2. Setting Up the TinyMCE Library Path
Code: Select all
all:
  .settings:
    rich_text_js_dir:  js/tiny_mce


3.
Code: Select all
<?php echo textarea_tag('name', 'default content', 'rich=true size=10x20') ?>
 => a rich text edit zone powered by TinyMCE
<?php echo textarea_tag('name', 'default content', 'rich=true size=10x20 tinymce_options=language:"fr",theme_advanced_buttons2:"separator"') ?>
=> a rich text edit zone powered by TinyMCE with custom parameters
User avatar
kindrosker
Member
 
Posts: 59
Joined: Sat Jul 12, 2008 12:16 am
Location: Ukraine

Re: how to using tinymce in symfony

by leehandong » Sun Apr 26, 2009 11:11 am

I done it but it works in frontend, and not work in backend.
please tell me how do it work in backend ?
leehandong
Junior Member
 
Posts: 8
Joined: Wed Apr 08, 2009 11:42 am
Location: vn