Welcome to Geeklog Wednesday, May 22 2013 @ 07:16 PM EDT
|
||||||||
![]() |
Forum Index > Support > General Geeklog Support |
New Topic
|
Post Reply
|
Geeklog + my html |
|||
| AlbertLewis |
|
||||||
![]() ![]() ![]() ![]() ![]() Newbie Status: offline ![]() Registered: 05/23/02 Posts: 3 |
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. |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
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" ?> <!-- your HTML stuff here --> <?php echo COM_endBlock(); // again, optional echo COM_siteFooter(); >? bye, Dirk |
||||||
|
|||||||
| 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? |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
That, I'm afraid, is not so easy ... If you want to do that, you would need to clone the function COM_siteHeader() from lib-common.php. bye, Dirk |
||||||
|
|||||||
| Content generated in: 1.20 seconds |
|
|
|