Posted on: 02/04/04 07:12pm
By: Mr_Nath
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.
Static Pages - How To Remove Title?
Posted on: 02/04/04 08:46pm
By: Mr_Nath
I found the answer over at squatty.com
http://www.squatty.com/forum/viewtopic.php?forum=1&showtopic=1282
Static Pages - How To Remove Title?
Posted on: 02/05/04 02:00am
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
Static Pages - How To Remove Title?
Posted on: 02/05/04 07:12pm
By: Mr_Nath
Ahh too late, but oh well. Thanks heaps anywayz..... I will post that over the other site too......
Static Pages - How To Remove Title?
Posted on: 04/06/04 10:39am
By: Norgs
[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[/QUOTE]
Dirk,
Does this setting affect all static pages?
Static Pages - How To Remove Title?
Posted on: 04/06/04 02:16pm
By: Dirk
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