Dear all I installed the FCKeditor plugin following this post http://blog.caronsoftware.com/2006/08/07/fckeditor-plugin-for-rails i put this in the view <%= fckeditor_textarea :company, :description, :height => ''300'' %> I restarted my server and I got a small rectangle in the view unlike the test page of the plugin any idea how to get it running Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
hi make sure you have included the js properly..Else the code written for display is proper. thanks Dhaval Parikh Software Engineer http://www.railshouse.com sales(AT)railshouse(DOT)com Shuaib Zahda wrote:> Dear all > > I installed the FCKeditor plugin following this post > http://blog.caronsoftware.com/2006/08/07/fckeditor-plugin-for-rails > > i put this in the view > <%= fckeditor_textarea :company, :description, :height => ''300'' %> > > I restarted my server and I got a small rectangle in the view unlike > the test page of the plugin > > any idea how to get it running > > Thanks-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I am not sure how to do that. I saw the page source code and i saw the lines related to java script On Jun 23, 4:55 pm, Dhaval Parikh <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> hi > > make sure you have included the js properly..Else the code written for > display is proper. > > thanks > > Dhaval Parikh > Software Engineerhttp://www.railshouse.com > sales(AT)railshouse(DOT)com > > Shuaib Zahda wrote: > > Dear all > > > I installed the FCKeditor plugin following this post > >http://blog.caronsoftware.com/2006/08/07/fckeditor-plugin-for-rails > > > i put this in the view > > <%= fckeditor_textarea :company, :description, :height => ''300'' %> > > > I restarted my server and I got a small rectangle in the view unlike > > the test page of the plugin > > > any idea how to get it running > > > Thanks > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
try this <%= fckeditor_textarea :company, :description, :toolbarSet => ''Simple'' :width => ''600px'', :height => ''300px'' %> On Jun 30, 4:12 pm, Shuaib85 <shuaib.za...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am not sure how to do that. I saw the page source code and i saw the > lines related to java script > > On Jun 23, 4:55 pm, Dhaval Parikh <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > > hi > > > make sure you have included the js properly..Else the code written for > > display is proper. > > > thanks > > > Dhaval Parikh > > Software Engineerhttp://www.railshouse.com > > sales(AT)railshouse(DOT)com > > > Shuaib Zahda wrote: > > > Dear all > > > > I installed the FCKeditor plugin following this post > > >http://blog.caronsoftware.com/2006/08/07/fckeditor-plugin-for-rails > > > > i put this in the view > > > <%= fckeditor_textarea :company, :description, :height => ''300'' %> > > > > I restarted my server and I got a small rectangle in the view unlike > > > the test page of the plugin > > > > any idea how to get it running > > > > Thanks > > > -- > > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks
but nothing has changed
this is what i get from the page source
<textarea id=''company__description_editor''
name=''company[description]''></textarea>
<script type="text/javascript">
//<![CDATA[
var oFCKeditor = new FCKeditor(''company__description_editor'',
''600px'',
''300px'', ''Simple'');
oFCKeditor.BasePath = "/javascripts/fckeditor/"
oFCKeditor.Config[''CustomConfigurationsPath''] =
''/javascripts/
fckcustom.js'';
oFCKeditor.ReplaceTextarea();
//]]>
</script>
On Jun 30, 4:45 pm, 張衡華 <herng...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> try this
> <%= fckeditor_textarea :company, :description, :toolbarSet =>
> ''Simple'' :width => ''600px'', :height
=> ''300px'' %>
>
> On Jun 30, 4:12 pm, Shuaib85
<shuaib.za...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > I am not sure how to do that. I saw the page source code and i saw the
> > lines related to java script
>
> > On Jun 23, 4:55 pm, Dhaval Parikh
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
> > wrote:
>
> > > hi
>
> > > make sure you have included the js properly..Else the code
written for
> > > display is proper.
>
> > > thanks
>
> > > Dhaval Parikh
> > > Software Engineerhttp://www.railshouse.com
> > > sales(AT)railshouse(DOT)com
>
> > > Shuaib Zahda wrote:
> > > > Dear all
>
> > > > I installed the FCKeditor plugin following this post
> > >
>http://blog.caronsoftware.com/2006/08/07/fckeditor-plugin-for-rails
>
> > > > i put this in the view
> > > > <%= fckeditor_textarea :company, :description, :height
=> ''300'' %>
>
> > > > I restarted my server and I got a small rectangle in the
view unlike
> > > > the test page of the plugin
>
> > > > any idea how to get it running
>
> > > > Thanks
>
> > > --
> > > Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---