Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 08:23 pm EST

Geeklog Forums

Is there a wrapper mod?


Mick

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

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

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 ?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

All times are EST. The time is now 08:23 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