CI + tinyMce editor + tinybrowser file uploader |
[eluser]arjo[/eluser]
[quote author="umefarooq" date="1251888704"]now here is the solution of your problem you have to set some values in you tinymce_config.js Code: remove_script_host : false, then your image path will be like Code: <img src="http://www.yorsite.come/upload/images/sander.jpg"> and let you tinybrowser setting as it is Code: $tinybrowser['docroot'] = $_SERVER['DOCUMENT_ROOT']; if you have any trouble just post your comment here ill check this for more help you can check tinymce doc http://wiki.moxiecode.com/index.php/Tiny...figuration[/quote] Hi, When I use the code above, the select after clicking the thumbnail doesn't work anymore so the browser dialog isn't closed and the image isn't transferred into the tinymce textarea html... What I do now is convert the path '../../../..' to 'base_url()' using the function str_replace in my php model script where I save the content to the database. But thanks anyway! Arjo |
Messages In This Thread |
CI + tinyMce editor + tinybrowser file uploader - by El Forum - 08-31-2009, 10:47 PM
CI + tinyMce editor + tinybrowser file uploader - by El Forum - 09-01-2009, 01:23 PM
CI + tinyMce editor + tinybrowser file uploader - by El Forum - 09-01-2009, 04:35 PM
CI + tinyMce editor + tinybrowser file uploader - by El Forum - 09-01-2009, 11:51 PM
CI + tinyMce editor + tinybrowser file uploader - by El Forum - 09-02-2009, 11:01 PM
CI + tinyMce editor + tinybrowser file uploader - by El Forum - 09-02-2009, 11:18 PM
CI + tinyMce editor + tinybrowser file uploader - by El Forum - 09-03-2009, 02:42 AM
CI + tinyMce editor + tinybrowser file uploader - by El Forum - 09-04-2009, 04:21 AM
CI + tinyMce editor + tinybrowser file uploader - by El Forum - 01-10-2010, 01:32 PM
|