From 325197e700564f8e4e0ba7c9fc82abfd85f451b0 Mon Sep 17 00:00:00 2001
From: Rick Ellis If you no longer wish to cache a file you can remove the caching tag and it will not longer be refreshed when it expires. Note:
+ If you no longer wish to cache a file you can remove the caching tag and it will no longer be refreshed when it expires. Note:
Removing the tag will not delete the cache immediately. It will have to expire normally. If you need to remove it earlier you
will need to manually delete it from your cache folder.Deleting Caches
-
This allows you to substantially alter the Code Igniter core.
To set your own sub-class prefix, open your application/config/config.php file and look for this item:
+ +$config['subclass_prefix'] = 'MY_';
+
+Please note that all native Code Igniter libraries are prefixed with CI_ so DO NOT use that as your prefix.
+ diff --git a/user_guide/general/views.html b/user_guide/general/views.html index 147667ce2..fa7f5eb78 100644 --- a/user_guide/general/views.html +++ b/user_guide/general/views.html @@ -97,6 +97,7 @@ you should do so before continuing.Where name is the name of your view file. Note: The .php file extension does not need to be specified unless you use something other then .php.
+Now, open the controller file you made earlier called blog.php, and replace the echo statement with the view loading function:
@@ -117,6 +118,13 @@ class Blog extends Controller {www.your-site.com/index.php/blog/
+Your view files can also be stored within sub-folders if you prefer that type of organization. When doing so you will need +to include the folder name loading the view. Example:
+ +$this->load->view('folder_name/file_name');
+