Mick

Anonymous
Does greeklog have a wrapper mod like the one in mambo?

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
You may want to elaborate for those of us who are not familiar with Mambo ...

FWIW, there's the external pages plugin which can be used to wrap stuff into Geeklog.

Or you could do it yourself with a few lines of code:
Text Formatted Code
require_once ('lib-common.php');

echo COM_siteHeader ('menu', 'Page Title');
echo COM_startBlock ('Block Title'); // optional

// your stuff here

echo COM_endBlock (); // optional
echo COM_siteFooter ();
 

bye, Dirk

Mick

Anonymous
Quote by Dirk: You may want to elaborate for those of us who are not familiar with Mambo ...

I think it does what you are describing below

FWIW, there's the external pages plugin which can be used to wrap stuff into Geeklog.

I thought this just got statistics for an external page.

Or you could do it yourself with a few lines of code:
Text Formatted Code
require_once ('lib-common.php');

echo COM_siteHeader ('menu', 'Page Title');
echo COM_startBlock ('Block Title'); // optional

// your stuff here

echo COM_endBlock (); // optional
echo COM_siteFooter ();

 

bye, Dirk


If I wanted to call an external page, for example www.yahoo.com

What code would I put in //your stuff here ?

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Quote by Mick: If I wanted to call an external page, for example www.yahoo.com

In that case I would use a Static Page with an IFRAME that loads the other site.

The above tips where for the case where you have a chance to modify the page you want to include.

bye, Dirk