Posted on: 01/28/05 03:11pm
By: congleal
Is there a way to use existing html pages and incorporating them into geeklog centerblock? I''ve got a load of html pages that I've done with frontpage and used with a previous website. Many of the pages are still valid and useful and rather than to redo each one, is there a method for incorporating them into geeklog?
"Static Pages" doesn't seem to apply & "External Pages" displays the page but doesn't seem to incoporate the right and left blocks. Am I trying for something that geeklog doesn't support?
Thanks,
Lee
Existing html pages
Posted on: 01/28/05 03:53pm
By: Dirk
[QUOTE BY= congleal] "Static Pages" doesn't seem to apply[/QUOTE]
Why not? Just put everything between the body tags into a static page.
The only other thing I could think of is to add the few lines of code that it takes to wrap anything in Geeklogs framework into the page. You'd have to rename them to .php then, of course.
bye, Dirk
Existing html pages
Posted on: 01/28/05 03:57pm
By: congleal
I'll try the static page but can you tell me what the "few lines of code" are and where they go? I'd like to try both.
Thanks,
Lee
Existing html pages
Posted on: 01/28/05 04:09pm
By: Dirk
<?php
require_once ('lib-common.php');
echo COM_siteHeader ('menu');
?>
Your HTML here ...
<?php
echo COM_siteFooter ();
?>
As with the static pages, you only need the body portion of your HTML page here. The main difference between the two solutions would be that with the above you have one file per HTML page, while with the static pages solution, everything would be kept in the database.
bye, Dirk