Why have a separate header, footer and content areas?
Permalink
Hi,
I'm puzzled that all of the tutorials I have seen have split the header/content/footer in areas of their own. I've only built two concrete5 sites and on both have simply changed certain divs into editable blocks which has worked fine (in much the same way you set editable areas on Dreamweaver templates).
Am I doing this wrong or is there a good reason for the separate areas?
Thanks,
John
I'm puzzled that all of the tutorials I have seen have split the header/content/footer in areas of their own. I've only built two concrete5 sites and on both have simply changed certain divs into editable blocks which has worked fine (in much the same way you set editable areas on Dreamweaver templates).
Am I doing this wrong or is there a good reason for the separate areas?
Thanks,
John
Sorry this doesn't make sense. I already split the page up into header/content/footer divs. What I'm asking is why should you have separate header.php and footer.php files? What advantage does this give me over just having a single file sectioned by divs?
Thanks for answering anyway.
John.
Thanks for answering anyway.
John.
Sorry for getting you wrong.
In the end you will offcource end up with one file including all your div's wrapper/header/nav etc.
The basic rule is, I think, if you have to edit more than one file you doing to much work. If you can do without header and footer php and don't need to edit 47 file's for a simple menu of adres change, I cannot see why your approuch is minor than the themes/elements way the default C5 themes use.
In the end you will offcource end up with one file including all your div's wrapper/header/nav etc.
The basic rule is, I think, if you have to edit more than one file you doing to much work. If you can do without header and footer php and don't need to edit 47 file's for a simple menu of adres change, I cannot see why your approuch is minor than the themes/elements way the default C5 themes use.
If you use a header and footer, let say from the folder elements, you only have to change 2 files. Otherwise with a bit of luck 18.