Welcome to Geeklog, Anonymous Sunday, April 06 2025 @ 10:05 pm EDT
Geeklog Forums
Existing html pages
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
"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
18
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
11
14
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Text Formatted Code
<?phprequire_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
14
20
Quote
All times are EDT. The time is now 10:05 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content