Welcome Guest, Not a member yet? Register   Sign In
Model View Controller problems
#1

[eluser]jabga[/eluser]
Hi all. I integrated TinyMCE editor in my add article view.
And javascript in the header is here
Code:
script type="text/javascript" src="http://<?php echo $_SERVER['HTTP_HOST']?>/ci/tiny_mce/tiny_mce.js"

When I am adding an article using this, image url's are not correctly. They are not viewing

TinyMCE folder is in the main root, with index.php and system folder.
Guys please tell me how should I handle with this?

And also tell me where should I position my css files and how to write their url's dynamic?
I mean, I would like it to works correctly when after uploaded to my Web host.


Messages In This Thread
Model View Controller problems - by El Forum - 11-01-2009, 10:14 PM
Model View Controller problems - by El Forum - 11-01-2009, 10:32 PM
Model View Controller problems - by El Forum - 11-01-2009, 10:44 PM
Model View Controller problems - by El Forum - 11-01-2009, 11:19 PM
Model View Controller problems - by El Forum - 11-02-2009, 01:51 AM
Model View Controller problems - by El Forum - 11-02-2009, 01:58 AM
Model View Controller problems - by El Forum - 11-02-2009, 02:10 AM
Model View Controller problems - by El Forum - 11-02-2009, 02:17 AM
Model View Controller problems - by El Forum - 11-02-2009, 02:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB