Welcome Guest, Not a member yet? Register   Sign In
Problem while displaying views
#11

[eluser]caperquy[/eluser]
I understand that and I thank you for the time you spent on this problem. The other alternative to see my application would be that I send you a copy of it. But is that possible ?
Best regards.
#12

[eluser]clip[/eluser]
Can you just copy and paste your controller?
#13

[eluser]caperquy[/eluser]
OK, there it is.
As you can see it is just a skeleton for the time being.
The first time the views are loaded through the index function.
The second time they are loaded through the essai function, and that is where the problem occurs.
<?php
class Accueil extends controller
{
function accueil()
{
parent::Controller();
/ load libraries
$this->load->helper(array('form', 'url'));
$this->load->model('modele_paroisses');
$this->load->library('form_validation');
/ Connexion à la base de données
$this->load->database();
session_start();
}

function index()
{
//Obtention de tous les codes postaux
$data['Codes_postaux']=$this->modele_paroisses->get_all_codes_postaux();
//Chargement gabarit 10 (temporaire)
$this->load->view('entete');
$this->load->view('navigation');
$this->load->view('trouver_paroisse');
$this->load->view('pied');

}

function essai()
{
$this->load->view('entete');
$this->load->view('navigation');
$this->load->view('trouver_paroisse');
$this->load->view('pied');
}
#14

[eluser]clip[/eluser]
It has to be something to do with the link to your css. Try opening your site to both index and essai and post both links to the css file.
#15

[eluser]caperquy[/eluser]
Sorry but I do not understand what you would like me to do. Anyway I have to quit tonight. I will try to go back to this problem tomorrow.
Regards




Theme © iAndrew 2016 - Forum software by © MyBB