Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [archive] ajw_admin_workflow
On the “write” the two other plugins that are activated are upm quicktags and bas_image selector. Hold on let me try something….
Offline
Offline
#27 2005-12-10 18:57:22
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: [archive] ajw_admin_workflow
Crank up error reporting by setting production status to ‘debugging’, then try it again. Any additional clues?
Offline
Re: [archive] ajw_admin_workflow
Nothing additional with debugging mode turned on. And no other errors on any other admin screens as far as I can see thus far. Sorry that’s not much help. Maybe it’s just a ghost in the machine on burnaby if it’s only effecting this site? Like I said I have this running on several installs on several boxes and have never seen any errors creep up on any of them until now. I don’t see any reason why this would effect the funtionality. i looked at the sql table and everyting is being transfered correctly. So I am back to baffled. How about you? I will chalk this up to gremlin I guess.
Offline
#29 2005-12-10 19:09:25
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: [archive] ajw_admin_workflow
Well, since it is just a php “notice” there’s nothing to worry about. Try putting an @ before the reference to gps('view')
in the ajw_admin_workflow source and then we can verify it is in fact the plugin. Modify the line I posted before to this:
$view = @gps('view');
Does that do away with the php notice?
Last edited by Andrew (2005-12-10 19:10:54)
Offline
Re: [archive] ajw_admin_workflow
<code>function ajw_admin_workflow($event, $step) { global $txp_user; $confirm = ‘’; // get posted variables $view = @gps(‘view’); $name = gps(‘workflow_id’); $id = gps(‘ID’); $req = array(‘1’,‘2’); // privilege levels with power access</code>
Changes nothing as far as the notice goes. Hmmm.
Offline
Re: [archive] ajw_admin_workflow
Andrew, thanks a ton for whipping this thing up; it just saved me a bunch of work. I can see it being a very helpful tool down the road as well.
Offline
Re: [archive] ajw_admin_workflow
Hi, I’m using Textpattern version: 4.0.1 (r888) with the j|g TXP Plug-In Generator v1.0 which allows me to paste PHP into a form to create my plugins. The problem is that ajw_admin_workflow doesn’t appear on my article write tab once it has been installed. The plugin appears on the list of plugins as normal and I have activated it.
Is there somewhere that I can download the PHP for this plugin?
Thanks
Marcel and Den
Last edited by denyerec (2005-12-15 12:22:56)
Offline
#33 2005-12-15 23:24:30
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: [archive] ajw_admin_workflow
It will only appear for articles that are already saved and you are either a) the author of that article or b) “Publisher” or “Managing Editor” permissions level.
Are both of these prerequisites met for the article you are viewing? Keep in mind it will not appear if you are composing a new article because the article has not yet been saved.
(btw, what does the j|g plugin creator have to do with this?)
Last edited by Andrew (2005-12-15 23:30:03)
Offline
#34 2006-01-03 16:30:29
- -P-
- Member
- From: Finland
- Registered: 2005-09-10
- Posts: 211
Re: [archive] ajw_admin_workflow
I didn´t get this to work with 4.0.3.
I have been using it with txp versions 4.0.1. and 4.0.2. successfully.
Now I upgraded one installation from 4.0.2. to 4.0.3. and istalled the plugin. The plugin showed like it should but there was no other users beside admin account (me) in the drop down list to whom assing article to. And yes, the txp installation in question has several users with appropiate rights.
Offline
#35 2006-01-03 17:24:55
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: [archive] ajw_admin_workflow
I’ll check it out when i get a chance; I’m dealing w/ technical difficulties at the moment but will hopefully be back online soon.
Offline
#36 2006-01-03 18:02:57
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: [archive] ajw_admin_workflow
I honestly don’t know what could be going wrong, as it works for me fine on several sites running 4.0.3. Is there any possibility of a more detailed example?
Offline