Welcome to Geeklog, Anonymous Sunday, September 01 2024 @ 12:41 am EDT
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.
11
10
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
// 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
11
13
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
// 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?
10
10
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
bye, Dirk
27
12
Quote
All times are EDT. The time is now 12:41 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