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.

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

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
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

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......

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?

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
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