Questions tagged as 'codeigniter'

1
answer

How to make a sliced layout using the codeigniter framework?

I'm trying to create a basic% system with CRUD , where the page header and footer are fixed and dynamic content, but I have no idea how to do this. Can anyone help me?     
asked by 17.02.2015 / 18:21
1
answer

Get URL parameter

I need a code that when I click on the image, this image will open in a new tab. So far I've been able to do that when I click on top of my image it opens another tab with the path of the image in the URL. How do I get that path that is in the U...
asked by 01.07.2015 / 14:54
1
answer

CodeIgniter - Query in database PostgreSQL (multi database)

Well, I'm developing an app that lists. The listing is produced by querying a database. The list x is generated only by the query in the database x, the listing y, generated only by the query in the database, and so on. Neither one result should...
asked by 28.01.2015 / 12:49
1
answer

Load codeigniter settings in external file

Does anyone know how I can load all the settings of codeigniter into some external file, giving a require? For example: A .css file that takes information from the database! Does anyone know how to include, or which file to include, so tha...
asked by 01.02.2015 / 06:59
1
answer

Error Pagination CodeIgniter 2

I made a system in CI 2.0 and detected a paging error. The configuration script is as follows: $this->load->library('pagination'); $query = $this->usuarioModel->obterRelacaoUsuarios($pagina); $config = array();...
asked by 03.12.2014 / 12:23
1
answer

How to translate codeigniter error messages?

Well, how do I translate the error messages that codeigniter displays? Where can I download the files and how to configure? I'm grateful now! vlw.     
asked by 13.03.2015 / 02:25
2
answers

Codeigniter, is Session class safe?

Codeigniter has its own class for Session, that is, it does not use the native Sessions of PHP. Note: The Session class does not use native PHP sessions. It generates its own session data, offering more flexibility for developers. You ca...
asked by 14.04.2015 / 19:42
1
answer

CodeIgniter does not register

I'm trying to insert some data into the bank but I can not. Some problem in the array that CodeIgniter returns. The following is the Controller that the form calls: function cadastrar() { $this->load->helper('array'); $da...
asked by 02.10.2014 / 15:29
1
answer

Defining route controllers in Codeigniter directories

I have a lot of controllers in my project, so I split the controllers into folders, site in the site folder, admin in the admin folder (within controllers ). But I can not access the drivers without having to put the base of their folder in...
asked by 19.11.2014 / 05:16
1
answer

Variable undefined in CodeIgniter

I'm learning CodeIgniter and trying to pass an array to the View through my controller and when I call that array in the view it is presented to me as undefined. This is my controller: <?php if ( ! defined('BASEPATH')) exit('No dire...
asked by 17.09.2014 / 01:32