Welcome Guest, Not a member yet? Register   Sign In
[Solved] Custom Folder Structures
#3

[eluser]Anraiki[/eluser]
I went up to follow up on your code by referencing. It work only half way again Sad. $CI would be loaded with the Controller's function but it wouldn't load the "template library".

I am going to clarify what I want: "Code Igniter having the ability to load view files outside the view folders".

I will be right back with more results.

----
@7:14pm -8GMT
----

This shall fix all my problems and get rid of the insanity I am going through now.

In the Core Library, the Loader.php

Code:
function CI_Loader()
    {    
        $this->_ci_is_php5 = (floor(phpversion()) >= 5) ? TRUE : FALSE;
        $this->_ci_view_path = APPPATH.'views/';
        $this->_ci_ob_level  = ob_get_level();
                
        log_message('debug', "Loader Class Initialized");
    }

Change the View Path Away!


Messages In This Thread
[Solved] Custom Folder Structures - by El Forum - 02-07-2009, 05:24 PM
[Solved] Custom Folder Structures - by El Forum - 02-08-2009, 12:54 PM
[Solved] Custom Folder Structures - by El Forum - 02-08-2009, 08:39 PM
[Solved] Custom Folder Structures - by El Forum - 02-09-2009, 06:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB