Welcome Guest, Not a member yet? Register   Sign In
Links and IDs
#5

[eluser]csabessz47[/eluser]
yes i used the same way Wink thanks

and again: i'm a newbie:

in the controller i have 2 functions: index, and cv.

I'd like to link a CSS file, its in localhost/cs/css/style.css
How can I solve this?

in the controller:
Code:
$data["css"] = "../../css/style.css";
in the view file:
Code:
<link href="<?=$css?>" rel="stylesheet" type="text/css" />

this works at the following url:
Quote:http://localhost/cs/index.php/blog/cv
and
Quote:http://localhost/cs/index.php/blog/
but if i just type
Quote:http://localhost/cs
it doesn't work.

Any ideas or how should I solve this? I haven't find any tutorial or description for this.


Messages In This Thread
Links and IDs - by El Forum - 09-11-2010, 11:12 AM
Links and IDs - by El Forum - 09-11-2010, 11:30 AM
Links and IDs - by El Forum - 09-11-2010, 11:36 AM
Links and IDs - by El Forum - 09-11-2010, 11:50 AM
Links and IDs - by El Forum - 09-11-2010, 12:02 PM
Links and IDs - by El Forum - 09-11-2010, 12:21 PM
Links and IDs - by El Forum - 09-14-2010, 02:12 PM
Links and IDs - by El Forum - 09-15-2010, 02:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB