Welcome to Geeklog Friday, May 24 2013 @ 05:47 AM EDT
|
||||||||
![]() |
Forum Index > Support > General Geeklog Support |
New Topic
|
Post Reply
|
Link for story submissions |
|||
| SamF |
|
||||||
![]() ![]() ![]() ![]() ![]() Chatty Status: offline ![]() Registered: 12/04/06 Posts: 43 |
This is probably because I edited the left toolbar and the user functions, but I can't figure out how to give my users a link to submit a story.
As an admin, the only place I seem to be able to submit a story is in the Story Admin section. As a regular logged-in user, even one with story.submit permissions, I can't see any way to submit a story. If possible, I'd like a link to appear in both the User Functions section, and in the Stories page. (my site is http://www.ai-tools.org, so you can see what it looks like). Any advice? Thanks! Sam |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: online ![]() Registered: 01/12/02 Posts: 13027 |
The link is usually part of the {menu_elements} variable for the menu bar (which you still seem to be using) and can be configured in config.php:
PHP Formatted Code // List of entries that you want to see in the site's menu bar (if you're using// a theme that uses the {menu_elements} variable in its header.thtml). // Choose any combination of the following (order here = order in the menu). $_CONF['menu_elements'] = array ( // 'home', // link to homepage 'contribute', // contribute / "submit a story" link To add a link to the User Functions block, you would have to write a mini plugin providing that link or modify the code (COM_userMenu in lib-common.php). bye, Dirk |
||||||
|
|||||||
| SamF |
|
||||||
![]() ![]() ![]() ![]() ![]() Chatty Status: offline ![]() Registered: 12/04/06 Posts: 43 |
thanks!
|
||||||
|
|||||||
| SamF |
|
||||||
![]() ![]() ![]() ![]() ![]() Chatty Status: offline ![]() Registered: 12/04/06 Posts: 43 |
Quote by: Dirk
I know that this was a year ago, but does anyone have any info on how you would modify lib-common.php to add the Submit A Story link? It seems like this would be a standard part of user functions. Any help appreciated, thanks! Sam |
||||||
|
|||||||
| Content generated in: 1.22 seconds |
|
|
|