why's that no data showing on my sidebar,even if it's on my admin or user side? |
this is the picture of my sidebar:
this is my code in my sidebar: Code: <aside class="main-sidebar"> then this is my code in my login: Code: $this->form_validation->set_rules('username', 'Username', 'trim|required');
Maybe i'm wrong but perhaps you're not saving the type in the user session and then you're looking for something that don't exist - nothing to show.
You can make your base_url look better by doing this:
PHP Code: <a href="<?php echo base_url('product');?>"> And for your redirects like so: PHP Code: redirect(base_url('profile')); If your missing css file it will stop your sidebar from showing. Because it has happened to me before. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |