Welcome to Geeklog Tuesday, January 25 2022 @ 03:46 pm EST

Geeklog Forums

Php in static pages


Status: offline

Bebo

Forum User
Junior
Registered: 18/08/03
Posts: 20
im using a php photo album and it works fine by using a require statement in a static page

however

the external php file is parsed before the rest of the page so my page tilte and borders come out below the photos

is there a way to make the php file parse in the content area of the page instead of at the top?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
There are 2 PHP options in the static pages editor - try the other one.

Also see the documentation.

bye, Dirk
 Quote

Status: offline

Bebo

Forum User
Junior
Registered: 18/08/03
Posts: 20
i dont have those options, im using staticpages 1.3.3 and i dont see a download for a newer version ?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
I was assuming that you were running Geeklog 1.3.9, which includes the Static Pages plugin 1.4.

If you're on an older version, you'll have to upgrade. Static Pages 1.4 requires Geeklog 1.3.9.

bye, Dirk
 Quote

Status: offline

Bebo

Forum User
Junior
Registered: 18/08/03
Posts: 20
thanks, ill do that

im using 1.3.8-1

do i have to do a new install to get to 1.3.9 ?


 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Bebo: do i have to do a new install to get to 1.3.9 ?

In a way, yes - see the documentation for details.

bye, Dirk
 Quote

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