Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 09:34 am EST

Geeklog Forums

How to integrate php code?


Anonymous

Anonymous
I have a php program that someone wrote for me, what methods can I use to integrate it into the standard GL environment.

The app will run under the Anonymous users group. And I dont need to have anyone login. I just want it to run in the main center area of GL.

Does that mean I have to create the GL header and footer on the fly to wrap the application?

Is there another way?

Thanks
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
Well, you have three main choices:

1) Call the header and footer geeklog functions around your code. This makes it act kinda like the Gallery integration. Check out many of the main Geeklog php files to see how they do this.

2) Stick your code in a php-enabled static page. This way is much easier if your php application is simple and only uses a single page.

3) If your code is really simple, you could even stick it in a block.
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada

Just to expand on Turias's post - you can refer to this FAQ


Geeklog components by PortalParts -- www.portalparts.com
 Quote

Anonymous

Anonymous
Thanks everyone, that worked great. Also I found it out while examining the 4images integration!!
 Quote

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