Status: offline

congleal

Forum User
Full Member
Registered: 11/08/04
Posts: 179
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

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Quote by congleal: "Static Pages" doesn't seem to apply

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

Status: offline

congleal

Forum User
Full Member
Registered: 11/08/04
Posts: 179
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

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Text Formatted Code
<?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