The end result is one page that cintains the DATA and has in include to other pages that again has in iclude to yet other pages. This is the structure
_default.php - DATA ENTRY main_text.inc start.inc header.inc style.css info.inc logo.inc menu.inc local.inc other.inc rss1.inc rss2.inc end.inc DATA from _default.php copyright.inc footer.inc
I now also have placed the boring looking directoryguides into the general layout, so all looks uniform. After all the work, very easy to do.
I downloaded the latest version from this site. I unpacked it and renamed the file index.php to listing.inc. The first line I changed so it was all correct for CSS. The index.php I put indirectories just contains the following
>&?php
include("../start.inc");
include("../listing.inc");
include("../end.inc");
?<
In the file itself I only adjusted some right alignement. and that was it. Aside from the left alighnement, no looking at the code. Just some includes and the page was done. Total worktime: About 1 minute.
I hope you learned something in the process. It might take some time to get used to. Once you get used to it, there is no way back anymore. In the past I have made websites of several tousand pages. Somebody else provided me the content that I only needed to clean up a bit. A subject and then the paragraphs.
Let me know what you thought about it and wether it helped or just confused you. The emailadress is at the bottom.
© 2005 - 2010
by
houghi.
Copyright explanation will be onlin on
August 7, 2010