Posted by JayKayAu on January 10, 2011 at 5:18am
| Project: | Insert Block |
| Version: | master |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Is this module still relevant in Drupal 7, or is there a way to achieve the same thing natively?
If there's still a need for it in D7, are there plans to upgrade this module?
Comments
#1
Great question, JayKayAu. I haven't done an assessment, and because I don't have any sites using Insert Block, it wasn't high up on my list, but my hunch is it's still relevant, and it should be a pretty easy upgrade.
That said, I'll probably wait until I hear from folks that they want it upgraded before I do the work...
I take it, that's a vote from you?
#2
Hehe, yes it is :)
If the upgrade isn't too arduous, then it probably would be a good module to add to the D7 collection. We use it in a couple of sites that we may want to move over to D7 at some point in the future.
I'm happy to test it out and give whatever feedback I can.
#3
A D7 port would be much appreciated. We use your fine module in around 20 sites that we'll be migrating soon. We want to start building new sites with D7 and have identified your module as a must have.
#4
I second a port of this module to D7 - I find it very handy.
#5
I had never heard of this module until just now, but have needed to do this several times and always did some hokey theme changes.
#6
Ugh, I haven't carved out a niche of time yet to get the D7 upgrade done (partly out of waiting for the Git migration to be complete, then coming down with a nasty case of flu). I'm hoping to get to this soon. If anyone's project is held up waiting for this module, please ping me.
Sometimes a dude just needs a fire lit under him. ;)
#7
sub
#8
subscribing
#9
Changing title - all modules end up with the same title.
#10
subscribing
#11
Just an update here.
Had a couple illnesses and emergencies these last few weeks, and now catching up with work, so the Insert Block update has been pushed out a few more weeks on my list. Sorry for anyone who's been waiting.
Patches are of course welcome. If you can't wait, and you're familiar with Drupal's filter system hooks, you know most of what you'd need to do this update. In a few weeks, though, I'll give it a whack.
#12
Family is most important; take care of them (and yourself) first. I found a way around this.
#13
I've attached a patch and also a zip file of the working drupal 7 version. I had to have this working today for a project. Everything seems to be working fine for me.
#14
subscribing. I use this module on 2 sites.
#15
I notified the module maintainer about this so hopefully he will be able to review and commit something soon.
#16
@jdwfly - Thanks so much for the patch! :)
We have a lot of subscribers on this issue - any reviews?
#17
The module on #13 seems to work, for instance, with [block:user=online] I get:
"Who's online
There is currently 1 user online.
admin"
But with my own created views(blocks), using [block:views=show_my_conten-block_2]
I just get:
" My Block Title
Array"
where I should see a list of node titles
I Can't figure it out...
#18
Anyone else experience issues with custom or views blocks?
#19
yes, fix is to change line 101 of insert_block.module.
$content .= render($vars['block']['content']);I've been using an older dev version of views and just upgraded today and got the error. Adding in the render should fix it though.
#20
#13 worked for me, thanks!
#21
subscribing and gonna try on a test dev site
#22
Thanks for the port jdwfly! :) And thanks for the feedback aangel.
I've created a new 7.x-1.x development branch for Insert Block based on the patch in #13 and the fix in #19. A dev release should be visible on the project page within the next 12 hours.
If we don't have any big bugs reported for that branch in the next few weeks, I'll create a stable 7.x-1.0 release.
#23
Automatically closed -- issue fixed for 2 weeks with no activity.