My brother wrote the basics of our website and I had optimized a little the job of maintaining it by creating a template with correct and indented HTML.
Now, I've added a new page that I want to be available as a link on every other page. Two choices:
include("link.inc");
is an easy hammer.Re:php include
godoy on 2002-09-09T23:07:49
I'm more of the Perl kind of guy.:-)
As I said, I used TT2 and moved everything in 5 minutes. Now, whenever I want to add a new box or something to every page, I just have to edit the template and it's done.
I may also have templates that call other templates, and then differentiate what appears in every page.
And I can have variables there.
And the best thing: the ISP has just to support plain HTML and CSS files. No PHP, no Perl, no mod_perl, no nothing. Everything is done here and ftp'ed there.