Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 08:15 am EST

Geeklog Forums

Static Pages - How To Remove Title?


Status: offline

Mr_Nath

Forum User
Newbie
Registered: 02/03/04
Posts: 4
Hi, I am wanting to use Static Pages to create a welcome message on the front page. It is working fine but my issue is that Static Pages makes you display the 'Title' of the Static Page. Is there a way to make a Static Page a Centre Block at the top of the main page without it displaying the Title. I can live with hacking Static Pages so none of the Static Pages have titles. TIA.
 Quote

Status: offline

Mr_Nath

Forum User
Newbie
Registered: 02/03/04
Posts: 4
I found the answer over at squatty.com

http://www.squatty.com/forum/viewtopic.php?forum=1&showtopic=1282
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Without having to hack things, you could simply use this:

// set to 1 if static pages should be wrapped in a block
$_SP_CONF['in_block'] = 1;

Set it to 0 in plugins/staticpages/config.php

bye, Dirk
 Quote

Status: offline

Mr_Nath

Forum User
Newbie
Registered: 02/03/04
Posts: 4
Ahh too late, but oh well. Thanks heaps anywayz..... I will post that over the other site too......
 Quote

Status: offline

Norgs

Forum User
Junior
Registered: 12/16/03
Posts: 17
Quote by Dirk: Without having to hack things, you could simply use this:

// set to 1 if static pages should be wrapped in a block
$_SP_CONF['in_block'] = 1;

Set it to 0 in plugins/staticpages/config.php

bye, Dirk

Dirk,

Does this setting affect all static pages?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
In 1.3.8 (Static Pages 1.3) it did. In 1.3.9 (Static Pages 1.4), it's only used as a default setting, since you can now decide for each individual page whether it should be wrapped in a block or not.

bye, Dirk
 Quote

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