Current time: 05-22-2024, 09:18 AM Hello There, Guest! (LoginRegister)


Post Reply 
new table-less gui planned / worked on?
Author Message
essdeesee Offline


Posts: 2
Joined: Oct 2008
Reputation: 0
Post: #20
RE: new table-less gui planned / worked on?
All this work sounds great, however I have a question with the current template system.

I see in the index.php file, it parses through the page data and then outputs to the page. I think a great start for a new template would be seperated headers and footers, allowing for a decent amount of code reuse.

however, I haven't been able to parse through anything else before the page

Code:
$tpl->define('header', Config::get('LOGIN_TEMPLATE_PATH') . '/includes/header.tpl');
$tpl->parse('HEADER', 'header');
$tpl->prnt('HEADER');

or even simply include a header file in each template page.

Code:
{ include 'includes/header.tpl' }
||
{php} include 'includes/header.tpl' {/php}

Does anybody have experience with this?

Cheers
10-14-2008 01:31 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: new table-less gui planned / worked on? - essdeesee - 10-14-2008 01:31 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)