⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Issue Stylesheet not working with Code Igniter and GCRUD



vladbutterfly
  • profile picture
  • Member

Posted 06 May 2013 - 11:50 AM

Hi

I want to load the header :navigation menu with css stylesheet,but this is not working :(

any help

main.php

[..]

function customer_management()
    {
        $this->load->view('include/header.php');
        
        $crud = new grocery_CRUD();
    
        $crud->set_table('customer');
        $crud->set_subject('Customer');
        $crud->required_fields('name');
        $crud->set_relation('customer_group_id','customer_group','id');
        $crud->display_as('customer_group_id','Customer Group Identifier');
        $output = $crud->render();
        $this->_example_output($output);
}

 

include/header.php

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="Lavalike css-only menu effect" />
<meta name="keywords" content="css-only menu hover effect transitions" />
<meta name="author" content="PeHaa for PEPSized" />
<link href='http://fonts.googleapis.com/css?family=Unica+One' rel='stylesheet' type='text/css'>

<link rel="stylesheet" href=<?php echo base_url('style.css');?>" media="screen" title="no title" >
</head>
[..]

config.php

$config['base_url']    = 'http://127.0.0.1/CT';

 

any help thx


victor
  • profile picture
  • Member

Posted 08 May 2013 - 20:37 PM

take a look at the example view file! You should copy/paste php code from the file.  


davidoster
  • profile picture
  • Member

Posted 08 May 2013 - 21:33 PM

It's being resolved. There was an error on the path to the css.