[eluser]flumps[/eluser]
[quote author="Rick Jolly" date="1187063380"]We're here to help.
Since the header view is being loaded from a view, the easiest thing to do would be to create a global variable $base_view. To create global variables that are available to all your views, use $this->load->vars() like so:
Code:
class Pages extends Controller {
function Pages()
{
parent::Controller();
$data['base_view'] = $this->config->view('base_view');
$this->load->vars($data);
}
...
}
Then in the header.php view you could write it like coolfactor suggested:
Code:
<link href="<?=$base_view;?>style.css" rel="stylesheet" type="text/css">
[/quote]
thanks very much
very helpfull.
will give that a bash tomorrow as time is getting on and ive got to be up at 6am :-s.