| « Acro-Link Plugin for v240-RC2 | Random YouTubes » |
5 comments
Comment from: ¥åßßå [Visitor] · http://www.innervisions.org.uk/ ..... or summat
I had a play with this, for a giggle try the following ( fresh install )Crack open inc/files/_files.ctrl.php and change the following 2 lines :
approx 778 :
// $edited_Item->set( 'status', $item_status );
$edited_Item->set( 'status', 'draft' );
and approx 814 :
// header_redirect( 'admin.php?ctrl=items&blog='.$blog ); // Will save $Messages
header_redirect( 'admin.php?ctrl=items&action=edit&p='.$edited_Item->ID ); // Will save $Messages
The result "should" be, you click "make a post with my groovy image" and it'll make a draft post and then take you to the post edit screen for the groovy draft post you just posted
Still not found a way to do this with a plugin
¥
03/12/08 @ 03:40
Comment from: EdB [Member]
Not bad my friend! In fact, pretty damned good - especially when I go one up on you and change line 814 to header_redirect( 'admin.php?ctrl=items&p='.$edited_Item->ID );
That way it goes to the post with the "Publish Now" button available instead of straight into edit mode. That would be for those who do all the cool stuff up front yah?
Dude we totally fuckin' rock!
03/15/08 @ 07:15
Comment from: ¥åßßå [Visitor] · http://www.innervisions.org.uk/ ..... or summat
Ahhh mate, you delude yourself, I have a far better visiglyph than you ..... nobody cares about code ¥
03/15/08 @ 11:43
Comment from: gupik [Visitor]
Hi there;Just it's a pitty that this plugin cannot make a draft with multiple images linked... There should be two buttons: "Make posts with images" and "Make post with images".
Anyway, it's very useful
04/13/08 @ 09:49
Comment from: EdB [Member]
Yeah that'd be neat. I'll have to see how possible that is. Meanwhile if you make a post with one image you can link other images to the post before publishing. Not the best in the world but better than nothing yah?
04/14/08 @ 06:06