Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 06:04 am EDT

Geeklog Forums

staticpages.PHP?


Status: offline

destr0yr

Forum User
Full Member
Registered: 07/06/02
Posts: 324
In the docs, it says you have to check this option (staticpages.PHP) under "Static Page Admin"... I don't have this option. What did I miss?
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
 Quote

Status: offline

jnordquist

Forum User
Full Member
Registered: 03/14/03
Posts: 129
Location:Kenosha
Same here. 1.3.9, Centerblock, everything else, but no PHP in StaticPage switch.
John Nordquist,
Applications Specialist, medical Technologies
 Quote

Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
You don't have that at your static page edit page?

[QUOTE staticpages/index.php/edit]

Centerblock: When checked, this Static Page will be displayed as a center block on the index page.
Position: [Entire Page] Topic: [All]
-----------------------------------------------------------
In a block: [ ] Wrap Static Page in a block.
PHP: [do not execute PHP] Warning: PHP code in your page will be evaluated if you enable this option. Use with caution !!

Exit Type: [ ] Enable for Login Required Message. Leave unchecked for normal security check and message.
-----------------------------------------------------------
[/QUOTE]
So I would GUESS something was wrong with your static_pages plugin update.

geKow
 Quote

Status: offline

Dazzy

Forum User
Full Member
Registered: 07/19/03
Posts: 200
Location:N. Ireland
this is probably pointing out theo bvious but the staticpages.php is under Groups>Staticpage admin.

All though I have to say it was checked by default for me, even though I can't figure out how to use php, all I get is parse errors!

As GeKow says its probably the fact your stsicpage plugin didn't update correctly!
Dazzy
 Quote

Status: offline

destr0yr

Forum User
Full Member
Registered: 07/06/02
Posts: 324
I ran the following:
Text Formatted Code

INSERT INTO gl_features (ft_id, ft_name, ft_descr, ft_gl_core) VALUES (22,'staticpages.PHP','Ability use PHP in static pages',0)
 

all better.
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
 Quote

All times are EDT. The time is now 06:04 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