Category Archives: codeigniter

  • 0

the role of default controller in your codeigniter

Category : codeigniter

the role of default controller in your codeigniter

the question arises what part played by default controller in codeigniter

it is the root of every thing in other words

you must see its logic otherwise your programming with codeigniter will be null and void .

it is the root and important part of codeigniter

in other words, codeigniter will not work without it. so have clear concept of this thing .

it is found in your application/routes.php file 

for more you have to go click here 


  • 0

how to remove index.php name in your address bar

Category : codeigniter

how to remove index.php name in your address bar

this is very imporntant file in codeigniter

all role will be not be disabled somehow ;

download the following file and keep it in your codeigniter root folder

.htaccess

note first extract it and then keep it

now open your application/cofig.php file

and search for index.php if found remove this name and save it


  • 0

how to add simple static pages in your codeigniter

Category : codeigniter

how to add simple static pages in your codeigniter

how to add simple static pages in your codeigniter

we can do this by using base_url

first open your codeigniter

  1. open application folder
  2. open config file
  3. find base_url line and in qouted marks  write “http://localhost/codeigniter”
  4. now what your create in your root folder of codeigniter it can be linked as with following syntax
  5. <li><a href=”<?php base_url();?>’main_folder_name/filename with extention'”</li>

thanks for reading

if you feel any query ; you can contact me at dr.shaikhfarooque@gamil.com


  • 0

how to create link with other pages in codeigniter

Category : codeigniter


how to create link with other pages in codeigniter

how to connect with other pages in codeigniter

first open your controller file in application/controller folder

and paste this code

class PagesControllers extends CI_Controller { function index(){ $this->loadHeader(); $this->loadMenubar(); $this->loadMainbody(); $this->loadSidebar(); $this->loadFooter(); } function loadPageHeader(){ // Loading header here… } function loadMenu(){ // Loading menu here… } function loadMainbody(){ // Loading the main body of the page here… } function loadSidebar(){ // Loading some here… } function loadFooter(){ // Loading footer… } } and now what you want to load in your view file just echo that function as first $this->load->view(‘loadsidebar’) and create that file in your view folder you can now access it easily.



Fatal error: Call to undefined function weblizar_navigation() in /home/websolutionsdone/public_html/wp-content/themes/ielts-career/category.php on line 23