Re: TinyMCE issue - CakePHP 2.0.4
Yes, I tried adding all files, but it still didn't work. Finally this worked - http://ask.cakephp.org/questions/view/how_to_use_tinymce_plugin The plugin isn't really needed, I created an Element for it. On Jan 14, 3:26 pm, daf182 wrote: > Hi Ishan, > > As I saw, the problem withhttp://gprotocol.com/sai/is that TinyMCE > can not load further component. It tries to download them but the > response is 404. (check it in firebug or chrome developer tool and > check the console tab): > GEThttp://gprotocol.com/sai/js/langs/en.js404 (Not Found) > tiny_mce.js:1Failed to load:http://gprotocol.com/sai/js/langs/en.js > GEThttp://gprotocol.com/sai/js/themes/simple/editor_template.js404 > (Not Found) > tiny_mce.js:1Failed to > load:http://gprotocol.com/sai/js/themes/simple/editor_template.js > > I guess you forgot to put every TinyMCE related js to the correct > path. TinyMCE is not a single js, it has more components which will be > downloaded by the main js file you included: js/tiny_mce.js. > > I hope this will solve your issue. > > On jan. 13, 21:10, Ishan Talathi > wrote: > > > > > > > > > Hi, > > > I am trying to use TinyMCE in a text area for an Add form. > > > It works with the sample code given by TinyMCE - > > >http://gprotocol.com/tinymce/ > > > But, when i use it in CakePHP it simply refuses to work. > > >http://gprotocol.com/sai/ > > > I have stripped out everything from default.ctp so that above 2 codes > > are identical, but it still doesn't show the TinyMCE UI. > > > Any ideas ? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: TinyMCE issue - CakePHP 2.0.4
Hi Ishan, As I saw, the problem with http://gprotocol.com/sai/ is that TinyMCE can not load further component. It tries to download them but the response is 404. (check it in firebug or chrome developer tool and check the console tab): GET http://gprotocol.com/sai/js/langs/en.js 404 (Not Found) tiny_mce.js:1Failed to load: http://gprotocol.com/sai/js/langs/en.js GET http://gprotocol.com/sai/js/themes/simple/editor_template.js 404 (Not Found) tiny_mce.js:1Failed to load: http://gprotocol.com/sai/js/themes/simple/editor_template.js I guess you forgot to put every TinyMCE related js to the correct path. TinyMCE is not a single js, it has more components which will be downloaded by the main js file you included: js/tiny_mce.js. I hope this will solve your issue. On jan. 13, 21:10, Ishan Talathi wrote: > Hi, > > I am trying to use TinyMCE in a text area for an Add form. > > It works with the sample code given by TinyMCE - > > http://gprotocol.com/tinymce/ > > But, when i use it in CakePHP it simply refuses to work. > > http://gprotocol.com/sai/ > > I have stripped out everything from default.ctp so that above 2 codes > are identical, but it still doesn't show the TinyMCE UI. > > Any ideas ? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: TinyMCE issue - CakePHP 2.0.4
Have you tried using this plugin? http://cakedc.com/eng/downloads/view/tinymce On Fri, Jan 13, 2012 at 3:35 PM, mike karthauser wrote: > 13 Jan 2012, at 20:10, Ishan Talathi > wrote: > > > Hi, > > > > I am trying to use TinyMCE in a text area for an Add form. > > > > It works with the sample code given by TinyMCE - > > > > http://gprotocol.com/tinymce/ > > > > But, when i use it in CakePHP it simply refuses to work. > > > > http://gprotocol.com/sai/ > > > > I have stripped out everything from default.ctp so that above 2 codes > > are identical, but it still doesn't show the TinyMCE UI. > > > > Any ideas ? > > > Getting any JavaScript errors in firebug? > > > > -- > > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > > Check out the new CakePHP Questions site http://ask.cakephp.org and > help others with their CakePHP related questions. > > > > > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this > group at http://groups.google.com/group/cake-php > > > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: TinyMCE issue - CakePHP 2.0.4
13 Jan 2012, at 20:10, Ishan Talathi wrote: > Hi, > > I am trying to use TinyMCE in a text area for an Add form. > > It works with the sample code given by TinyMCE - > > http://gprotocol.com/tinymce/ > > But, when i use it in CakePHP it simply refuses to work. > > http://gprotocol.com/sai/ > > I have stripped out everything from default.ctp so that above 2 codes > are identical, but it still doesn't show the TinyMCE UI. > > Any ideas ? > Getting any JavaScript errors in firebug? > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
TinyMCE issue - CakePHP 2.0.4
Hi, I am trying to use TinyMCE in a text area for an Add form. It works with the sample code given by TinyMCE - http://gprotocol.com/tinymce/ But, when i use it in CakePHP it simply refuses to work. http://gprotocol.com/sai/ I have stripped out everything from default.ctp so that above 2 codes are identical, but it still doesn't show the TinyMCE UI. Any ideas ? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php