Alas, there was no D7 version of Postblock so I've gone and ported it. The current version is on Github (https://github.com/eaton/postblock), and I can roll a patch if the author so desires. Is it still being maintained?

Comments

Anonymous’s picture

Assigned: Unassigned »

Thanks Jeff!

I haven't had a use for Post Block recently, so haven't bothered upgrading it.

I appreciate the work you've put into porting it however, and will take a look when I get a chance. If it's all good, I'll setup a 7.x branch and commit your changes.

eaton’s picture

There's also one extra feature that snuck into the module: a 'verb' setting that lets you change the word that appears before the content type's name. That lets you have one block whose links read 'Add a [foo] | Add a [bar]' while another block's links would read "Post your [blah]". It defaults to the current behavior if nothing is specified.

For the project I'm working on, I also need to add two more bits -- an optional anchor tag or querystring to add onto the end of the link (for redirection or prepopulation purposes), and CTools support so that arbitrary panes of 'post links' can be placed into panel layouts and configured independently without creating new blocks. The code to generate the block, and handle its configuration form, is already really nicely separated out so using CTools' config screen as a front end for it won't be a stretch.

If you're not keen on those additions, I can pull out a patch that's JUST the D7 upgrade, but those are pieces I'll definitely be adding in the github repo for the in-progress site. :-)

Anonymous’s picture

Title: Drupal 7 port » Drupal 7 port of Post Block
Assigned: » Unassigned

Sorry, never did get back to this...

I've changed the project status to 'Seeking new maintainer', so if you're interested in setting up a D7 branch and committing your changes, I'd be more than happy to hand this project (back) to you.