Welcome to Geeklog, Anonymous Friday, December 06 2024 @ 06:18 am EST
Geeklog Forums
Geeklog + my html
AlbertLewis
Anonymous
How would i make a .php file that would include the header, fooder, and blocks, but leave the middle area open for me to do what ever i please with?
I have seen staticpages, but they wont work because they only allow some HTML and also hae strange urls.
12
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Hmm, at the bottom of the static pages editor, it says "all HTML allowed" - which tags give you problems there?
Anway, you could make your own pages wrapped into Geeklog like this:
<?php
require_once ('lib-common.php');
echo COM_siteHeader ('menu');
echo COM_startBlock ("Some title" // optional - will wrap your page in a block
?>
<!-- your HTML stuff here -->
<?php
echo COM_endBlock(); // again, optional
echo COM_siteFooter();
>?
bye, Dirk
7
11
Quote
Anonymous
Anonymous
Alright, thanks alot. one more question.
echo COM_siteHeader ('menu');
That is what puts the header file in right?
if i make a header file called header2.thml how can i include it?
10
7
Quote
All times are EST. The time is now 06:18 am.
- 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