Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 10:55 pm EST
Geeklog Forums
How can I remove the border for frontpage on Staticpages
Status: offline
barrywong
Forum User
Regular Poster
Registered: 04/12/02
Posts: 95
Hi
In 1.3.7, the Frontpage of a Staticpage doesn\'t have a boder surrounding it.
However, in 1.3.8, I take it that Frontpage is now replaced with Centerblock.
When I place the staticpage up as a Centerblock with the following options:
1. position: Top of Page
2. Topic: Homepage Only
it shows up like frontpage.. however, it comes with a border and a different background color.
Is there a way that I can change it to behave like FrontPage of 1.3.7?
Thank you.
10
11
Quote
Status: offline
DTrumbower
Forum User
Moderator
Registered: 01/08/03
Posts: 507
There is a config.php file in the /path/to/geeklog/plugins/staticpage.
Change this variable. $_SP_CONF[\'in_block\'] = 1; to a 0.
That should do what you want. The default is to take the block formatting.
11
8
Quote
Status: offline
xspace
Forum User
Regular Poster
Registered: 03/04/03
Posts: 100
Quote by DTrumbower: There is a config.php file in the /path/to/geeklog/plugins/staticpage.
Change this variable. $_SP_CONF['in_block'] = 1; to a 0.
That should do what you want. The default is to take the block formatting.
Change this variable. $_SP_CONF['in_block'] = 1; to a 0.
That should do what you want. The default is to take the block formatting.
So am I correct to say that once we do this .. all blocks will not be formatted ...
Die young, stay Pretty
10
11
Quote
Status: offline
barrywong
Forum User
Regular Poster
Registered: 04/12/02
Posts: 95
I just upgraded from GL 1.3.8 to GL 1.3.9
After which, I made changes to Line 25 in /plugin/staticpage/config.php:
from $_SP_CONF['in_block'] = 1; to
$_SP_CONF['in_block'] = 0;
Unfortunately nothing changed. Can anyone tell me if they have encountered the same problem?
Thanks
Barry
---------------------
GL1.39 really rocks. You guys have thought of almost everything. So sorry for raising this as an issue. I should have checked the plugin first.
---------------------
For those still wondering....
You just need to go to the Staticpage editor and uncheck the box which says "Wrap Static Page in a block".
My next question is...
when should I change /plugin/staticpage/config.php:
from $_SP_CONF['in_block'] = 1; to
$_SP_CONF['in_block'] = 0;
It didn't do anything...
After which, I made changes to Line 25 in /plugin/staticpage/config.php:
from $_SP_CONF['in_block'] = 1; to
$_SP_CONF['in_block'] = 0;
Unfortunately nothing changed. Can anyone tell me if they have encountered the same problem?
Thanks
Barry
---------------------
GL1.39 really rocks. You guys have thought of almost everything. So sorry for raising this as an issue. I should have checked the plugin first.
---------------------
For those still wondering....
You just need to go to the Staticpage editor and uncheck the box which says "Wrap Static Page in a block".
My next question is...
when should I change /plugin/staticpage/config.php:
from $_SP_CONF['in_block'] = 1; to
$_SP_CONF['in_block'] = 0;
It didn't do anything...
11
11
Quote
All times are EST. The time is now 10:55 pm.
- 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