[eluser]Peter74[/eluser]
Hello all, well times its come, iam gonna try to build my first site with ci, and iam a little nervious, and i have a few questions.
i like use templates, i buildt a couple (literaly two xD)a sites with that and always have the same question, cuz i like code with order, but always think... humm some missing here,
example:
i have :
header (login, flags, main nav, logo, site name)
content ("result of clicks")
footer (othermenu and stuff)
i like call ONE file to control de views, something like that
template ...
'HEADER'=> $data_header,
'CONTENT'=> $data_content, (maybe all page, example: user page, more menus, navs, etc)
'FOOTER'=> $data_content,
...
echo template
in this file, i change the information to show (content basiqly)
well, learning ci, i see a "pairs" of files (controller - view)
i dont know how is the "best" way (i know... it depends, dont tell me that plz)
questions:
how a make the structure for avoid create a entire page from zero.
I hope somebody understandme
----------
sorry about my spelling and redaction, iam learning english too