Posted on: 12/16/02 09:54am
By: Anonymous (onetouch)
This is probably already answered but I was unable to find it

. I want just simple submit a story page just like this one. But when I click on sumit.php it redirects me to admin/story.php?mode=edit which gives me too many options. Any idea how to have simple page like this one?
Thanks all
How to make simple Sumbit a story?
Posted on: 12/16/02 10:27am
By: Dirk
If you're the Admin or StoryAdmin of a site, you will always get the Admin's version if the story editor. You don't need to use all those features if you don't want to - just select a title, a topic, and type in your story in the "Intro text" field, that's all you need to do.
Or you could hack submit.php and remove the redirect to the Admin's story editor from there:
elseif (SEC_hasRights ('story.edit')) {
echo COM_refresh ($_CONF['site_admin_url']
. '/story.php?mode=edit');
exit;
}
After that, even the (Story)Admin will get the simple story submission form.
bye, Dirk
How to make simple Sumbit a story?
Posted on: 12/17/02 01:54am
By: Anonymous (onetouch)
Thanks

, this works...but I get another problem: after submiting a story like this it goes to approval, even if it's $_CONF['storysubmission'] = 0; (or even 1) . User that submit is story adim, but to make it easier I removed Admin block for them so they only have Submit a story, so how can I make it to publish it without approval? Submiting from admin/story.php?mode=edit submits a story directly (but then it's not simple

).
P.S.
Besides being the best CMS around, GL has great helpfull too

Thanks