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

Geeklog Forums

problem with static php page


Anonymous

Anonymous
Hello, when i create a static page with php code then the content of the static page is showed out of the static page limits, that is first the content of my static page and after the empty block of a normal static page. What can i do to solve it? Thank you, ismael.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany

Please see this story by Tom Willet over on gplugs.sf.net.

bye, Dirk

 Quote

Anonymous

Anonymous
I know that i don't have to use php tags. My problem is diferent. My static php page work well but show the results out of statict page block. Do you understand me?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Yes, I understand your problem. But did you read the entire story? Hint: Don't use echo, use return. bye, Dirk
 Quote

Anonymous

Anonymous
ah, ok. sorry, my english is very bad. Thank you Dirk.
 Quote

pfaustino

Anonymous
I can't find the article that you linked to. I'm gonna look around for examples of acceptable PHP code. I'm just trying to insert a server side include so that my static pages can have their own left nav.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
This is an old thread an the Gplugs site has moved since it was posted. I've fiixed the above link now.

Also see the Static pages documentation.

bye, Dirk
 Quote

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