tinymce.js source |
[eluser]Unknown[/eluser]
hello guys, i am new to codeigniter, and i have some trouble installing tinymce in my website. at the beginning, i tried to work on localhost, and the tinymce work well... i am using a helper (name is : a_helper.php) to integrate the tinymce into the view page, which code looks like this : Code: if (!defined('BASEPATH')) exit('No direct script access allowed'); the controller was : Code: class controlphoto extends CI_Controller and the view was : Code: <html> everything went well, and the tinymce works just fine, but the trouble comes up when i tried to upload the site into my online webserver. i already change the code in a_helper.php into something like this : Code: $tinymce = '<- script type="text/javascript" src="http://my_website_name/js/tinymce/tiny_mce.js" -> but the tinymce just can't work. i think it's because the tiny_mce.js can't be located properly. anybody can help me? i also tried to use the base_url() from url helper, and make the source something like this: Code: $tinymce = '<- script type="text/javascript" src="http://'. base_url() .' js/tinymce/tiny_mce.js" -> with my base url set up as http://my_website_name/ at config. also i used the autoload.php in config to load my a_helper.php, can anybody please tell me what went wrong ![]() |
Messages In This Thread |
tinymce.js source - by El Forum - 07-28-2012, 11:02 PM
tinymce.js source - by El Forum - 07-29-2012, 05:27 AM
tinymce.js source - by El Forum - 07-29-2012, 06:11 AM
tinymce.js source - by El Forum - 08-03-2012, 10:14 PM
|