• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Template Question

#1
[eluser]FREEZA[/eluser]
Hello,
i want to build a website and i have a question about the development.

I have 3 templates:

-header
-main ( content )
-footer


Header Template:
- lastLogins ( from a model, standard for all sides/ controllers )
- specific tags for meta ( on every side / controller i can change this tags)


Main Template:
Ready... here i can send data with:
Code:
$this->load->view('includes/template', $this->data);
at the end of a controller


Footer Template:
- Latest articles ( from model, standard for all sides/ controllers )



I can build this logic? Sad





Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.