Posted on: 12/16/02 10:21am
By: Anonymous (onetouch)
One more by me

How can I remove the following from story.php?mode=edit :
1. hour minute and am/pm , or at least switch to 24 h time
2. topic (there is only one topic on site)
3. type
4. comments
5. featured
6. show on front page
7. post mode (how to make plain text default?)
8. all access rights text and boxes
If I remove it from theme I get errors. So how to remove it and make GL take default values like it won't show you time to choose but it would record time when message is sent, or access rights would be one you get anyway (I just don't want to confuse users with that since it's kind a portal for elders).
Thanks
How to remove something from story.php?
Posted on: 12/16/02 10:35am
By: Dirk
You can't just remove those from the template - you need to at least replace them with a hidden field that sets a default value.
The post mode should be picked up from the setting in config.php:
$_CONF['postmode'] = 'plaintext';
24 hour mode is not possible at the moment. Yes, it annoys me, too. Someone sent me a hacked-up version of Geeklog 1.3.6 that supports 24 hour times, but it requires a lot of changes all over the place. I'll see if I can incorporate that into future versions of Geeklog (I'd like to have it, too), but I don't want to make any promises on this issue ...
bye, Dirk
How to remove something from story.php?
Posted on: 12/17/02 02:34am
By: Anonymous (onetouch)
Thanks Dirk

Since I'm not into php and stuff, can anyone give me example how to replace some option in template with hidden field that sets a default value?
And for post mode, even if plaintext is set in config.php when submiting a story from admin/story.php?mode=edit it always preselects "html formatted".
Thanks