Posted on: 10/21/03 05:30pm
By: ronack
We all know of the default topic option. Does anyone have a hack to specify different topics for submission. For instance if I am in the Topic "Documentation" and I click Get Published it would automatically put Documentation in the Topic field. I don't know how many times I end up with a post in the wrong topic, usually the default.
Re:Get Published hack
Posted on: 10/22/03 01:44pm
By: Dirk
No need for a hack - Geeklog already does that.
If your theme uses the {menu_elements} variable, it should already work. If it doesn't use that variable, you will need to make sure the link to the submission form reads
<a href="{site_url}/submit.php?type=story{current_topic}">
bye, Dirk
Re:Get Published hack
Posted on: 10/26/03 11:38pm
By: ronack
I use {menu_elements} on all my sites with GL1.3.8 sr2. And none of them do that. Is it part of the theme or part of the core?
Re:Get Published hack
Posted on: 10/27/03 04:03am
By: geKow
That "hack" doesn't work for me (I don't use {menu_elements}) all I get is the submit page "header" with the list "you must fill out all fields" and so on but nothing more
geKow
Re:Get Published hack
Posted on: 10/27/03 02:24pm
By: Dirk
Hmm, works for me. Tested with Clean (uses menu_elements) and XSilver (no menu_elements) ...
bye, Dirk
Re:Get Published hack
Posted on: 10/29/03 09:49am
By: ronack
Mine always come up with the default topic no matter where I am at when I click on Get Published.
Re:Get Published hack
Posted on: 10/29/03 10:06am
By: ronack
In doing a little analysis I find this. My link for Get Published looks like this.
http://mysite....com/submit.php?type=story&topic=suggest
Suggest being the topic that I am in. When I click on it it goes to that link then a second later goes to this.
http://mysite....com/1admin/story.php?mode=edit
The topic field shows the default topic "Community News" instead of the topic "Suggest".
Re:Get Published hack
Posted on: 10/29/03 10:58am
By: Dirk
It should work for normal users, though. Can't remember if it ever worked for (Story) Admins or was even intended to work for them ...
bye, Dirk