Welcome Guest, Not a member yet? Register   Sign In
Setting "Home" Page
#3

[eluser]mrwilson1[/eluser]
I have set the base_url to the base directory (www.shivabeach.com) in the config file and copied the file over to the public_html. However it will load nothing from the controller nor respond to codeigniter codes such as linking, heading etc.ie "<?php echo link_tag('css/shiva.css');?>" Is my problem the method of loading the file from the controller?

<code>$config['base_url']= "http://shivabeach.com/";</code>

Normally this would be $this->load->view('index.php', $data)I have tried many different ways of loading this and nothing works. I have a feeling I am attacking this from the wrong angle here. I guess my problem is that the index.php file is the first page hit when a person arrives, and the config / controller files dont even come into issue as they are well away from the index file.

Am I explaining this correctly or just missing something here? I know this can be done Smile


Messages In This Thread
Setting "Home" Page - by El Forum - 09-17-2009, 06:15 PM
Setting "Home" Page - by El Forum - 09-17-2009, 10:22 PM
Setting "Home" Page - by El Forum - 09-18-2009, 07:34 AM
Setting "Home" Page - by El Forum - 09-18-2009, 08:34 AM
Setting "Home" Page - by El Forum - 09-18-2009, 09:16 AM
Setting "Home" Page - by El Forum - 09-18-2009, 09:27 AM
Setting "Home" Page - by El Forum - 09-18-2009, 10:27 AM
Setting "Home" Page - by El Forum - 09-18-2009, 10:51 AM
Setting "Home" Page - by El Forum - 09-18-2009, 11:27 AM
Setting "Home" Page - by El Forum - 09-18-2009, 11:37 AM
Setting "Home" Page - by El Forum - 09-18-2009, 12:54 PM
Setting "Home" Page - by El Forum - 09-18-2009, 01:08 PM
Setting "Home" Page - by El Forum - 09-18-2009, 07:41 PM
Setting "Home" Page - by El Forum - 08-13-2012, 04:39 PM
Setting "Home" Page - by El Forum - 08-13-2012, 06:40 PM
Setting "Home" Page - by El Forum - 08-21-2013, 01:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB