Re: IndigoWEB [OOP, MySQL]
Quote:
Originally Posted by
ησвяαιη
Not a biggy, but please make the box have rounded corners! Looks much nicer =]
Re: IndigoWEB [OOP, MySQL]
Quote:
Originally Posted by
Xudos
Not a biggy, but please make the box have rounded corners! Looks much nicer =]
Already done it:
http://uploadir.com/u/1e7q17
Re: IndigoWEB [OOP, MySQL]
My god that is beautiful!
edit: it was meant to be in capz.
Re: IndigoWEB [OOP, MySQL]
You've always been good at designing... Remember BeerCMS? :love:
That error page is lovely.
Re: IndigoWEB [OOP, MySQL]
Quote:
Originally Posted by
Hejula
You've always been good at designing... Remember BeerCMS? :love:
That error page is lovely.
Haha, I do. :love:
Re: IndigoWEB [OOP, MySQL]
Quote:
Originally Posted by
ησвяαιη
Damn, that is nice :)
Re: IndigoWEB [OOP, MySQL]
Here is how to create the error message.
PHP Code:
$core->throwError($error = "TemplateEngine could not find; " . $template . ".tpl");
That is what message will appear in the System Error page.
PHP Code:
$error = "TemplateEngine could not find; " . $template . ".tpl"
All that will create...
http://uploadir.com/u/87h0l6
Re: IndigoWEB [OOP, MySQL]
You should use a more flexible template system (file handling).
Instead of say:
PHP Code:
$tpl->Fetch("index"); //loads index.php
You could do:
PHP Code:
$tpl->Fetch("index","html"); //loads index.html
Just a suggestion.
Anyway, good luck Ash ;)
Re: IndigoWEB [OOP, MySQL]
This is the way I get my files.
index.php
PHP Code:
<?php
/*
* ____ ___
* / _/___ ____/ (_)___ _____
* / // __ \/ __ / / __ `/ __ \
* _/ // / / / /_/ / / /_/ / /_/ /
* /___/_/ /_/\__,_/_/\__, /\____/
* /____/
*
* @author: Ashley "nobrain" Davidson
*/
require_once 'global.php';
$template->add_template('header');
$template->add_parameter('page_desc', 'Make friends, join the fun, get noticed!');
$template->add_template('frontage');
$template->add_template('footer');
print $template->build_page();
?>
Re: IndigoWEB [OOP, MySQL]
Quote:
Originally Posted by
ησвяαιη
This is the way I get my files.
index.php
PHP Code:
<?php
/*
* ____ ___
* / _/___ ____/ (_)___ _____
* / // __ \/ __ / / __ `/ __ \
* _/ // / / / /_/ / / /_/ / /_/ /
* /___/_/ /_/\__,_/_/\__, /\____/
* /____/
*
* @author: Ashley "nobrain" Davidson
*/
require_once 'global.php';
$template->add_template('header');
$template->add_parameter('page_desc', 'Make friends, join the fun, get noticed!');
$template->add_template('frontage');
$template->add_template('footer');
print $template->build_page();
?>
why are you printing the function, why dont you just make the function print/echo?
Re: IndigoWEB [OOP, MySQL]
Quote:
Originally Posted by
PowahAlert
why are you printing the function, why dont you just make the function print/echo?
You just read my mind, loooooooool.
Re: IndigoWEB [OOP, MySQL]
Quote:
Originally Posted by
Caustik
You should use a more flexible template system (file handling).
Instead of say:
PHP Code:
$tpl->Fetch("index"); //loads index.php
You could do:
PHP Code:
$tpl->Fetch("index","html"); //loads index.html
Just a suggestion.
Anyway, good luck Ash ;)
What would be the use in that? :P Say you put PHP in the .tpl, or .html, or .penis whatever, the template system handles them all the same anyway?
Re: IndigoWEB [OOP, MySQL]
This is so awesome Ashley. I really appreciate it <3 :D:
Re: IndigoWEB [OOP, MySQL]
Quote:
Originally Posted by
Quackster
This is so awesome Ashley. I really appreciate it <3 :D:
Thanks man, also - GET YOUR ASS ON MSN!
Re: IndigoWEB [OOP, MySQL]
Quote:
Originally Posted by
Hejula
What would be the use in that? :P Say you put PHP in the .tpl, or .html, or .penis whatever, the template system handles them all the same anyway?
Customisation?
You could have html files for static content, and php files for dynamic content.