Closed (fixed)
Project:
Webform Block
Version:
6.x-1.1
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2010 at 12:31 UTC
Updated:
1 Nov 2010 at 08:40 UTC
When will webform block be compatible with version 6.x-3.0 of webform? I need both webform 6.x-3.0 and webform block - both are very useful modules.
Comments
Comment #1
rovoI am having the same trouble. Trying to get the DB tables adjusted so that it will show the generated block, but have not found a way yet.
Comment #2
rovoI am having the same trouble. Trying to get the DB tables adjusted so that it will show the generated block, but have not found a way yet.
Comment #3
kevinquillen commentedSubscribing
Comment #4
sgabe commentedThe development snapshot seems to be compatible with Webform 3.0, did you try it?
Comment #5
sutharsan commentedI updated from 6.x-1.1 to 6.x-1.x-dev (July 11, 2010). The block was not listed on the admin/build/blocks page although the data in the webformblock table and the blocks table all looked ok. I only got it working by deleting the block record in the blocks table.
Comment #6
dhbanes commentedThe problem seems to be that although the block is generated and added to the `block` table, by default the "status" is set to "1" but "region" is blank. So, basically, because it is "enabled" by default (Status = 1), it does now show up in the list of disabled blocks, but because there is no region set (Region = ""), it is not listed under any region either. This effectively hides it from the administrator. I think the fix is to have the module set status to 0 instead of 1 by default.
Comment #7
quicksketchI've released Webform 3.0 and will be marking it as the recommended version shortly. Since Webform Block doesn't have a release which supports 3.0, I've removed it from the Webform project page. Please let me know when this is complete and I'll re-add Webform Block to the project page of Webform.
Comment #8
mattiasj commentedsubscribe
Comment #9
achtonsubscribing
Comment #10
sgabe commentedI attached a patch for Webform 3.0 in #248157: Allow any Webform to be displayed as a block with this functionality.
Comment #11
ilw commentedsubscribe
Comment #12
nickorr commentedI got this to work in webform 3 by using the dev build and making a small change before uploading the module. On line 228 is the insert code :
db_query('INSERT INTO {blocks} (module, delta, theme, status, weight, region, custom, throttle, visibility, pages, title, cache) VALUES ("webformblock", %d, "%s", 1, 0, "", 0, 0, 1, "", "%s", 1)', $nid, $theme_key, $node->title);
Change it to :
db_query('INSERT INTO {blocks} (module, delta, theme, status, weight, region, custom, throttle, visibility, pages, title, cache) VALUES ("webformblock", %d, "%s", 0, 0, "", 0, 0, 1, "", "%s", 1)', $nid, $theme_key, $node->title);
All you're doing is changing the first 1 to a 0. Enabled the module and followed the instructions and all was good.
Cheers,
Nick
Comment #13
drj8022 commentedThank you!!!!!! I wound up manually running the following two statements to get everything working:
INSERT INTO webform_block (nid) VALUES (380);
INSERT INTO blocks (module, delta, theme, status, weight, region, custom, throttle, visibility, pages, title, cache) VALUES ("webformblock", 380, "theme_name", 0, 0, "", 0, 0, 1, "", "Some Nice Title", 1);
Comment #14
mlncn commentedAbandoning Webform Block for the patch to webform over at #248157: Allow any Webform to be displayed as a block?
I would roll a patch here for the change Nick describes, but it doesn't seem the maintainer is home? Also i just don't understand why the problem being fixed seems to be how this module works with blocks (which haven't changed), not how it works with webforms (which have)!
Comment #15
mandclu commentedI've tried both the change suggested in #12 and the manual entry in #14. My problem is that I can see the entry in the blocks table, but when I go to the Blocks page the webform isn't listed. What's more, if I then refresh the blocks table the entry has been deleted. Any thoughts?
Comment #16
sgabe commented@surge_martin: If you have any problem with the patch suggested in #14 you should report it in #248157: Allow any Webform to be displayed as a block.
Comment #17
aiphesi'm waiting for a release webform 3.0compatible to switch WForm 2.0 to 3.0...and can use additionnal modules...hope it will be soon.
Comment #18
mlncn commentedIn case the links above don't make it clear, the Webform Block module will be effectively deprecated by the inclusion of the functionality in Webform itself– as is done in the working patch at #248157: Allow any Webform to be displayed as a block.
Marking this bug as postponed; when Webform takes care of it this issue can be closed.
Comment #19
kevancummins commentedHI all
I had same problem but donwloaded the latest dev version 6.x-1.x-dev dated July and it works with Webform 6.x-3.2. I can see the block in the blocks list and add to a panel.
Kevan
Comment #20
aiphesFor me too, webformblock dev july2010 works on my test local website with webform 3.2...so 2 options are available : module or patch...module is the best way i think no ?
submission is well received but redirection page failed with a 404..
Comment #21
kevancummins commentedThe module maintainer has just updated the dev version - downoad latest and it should work
Comment #22
mghatiya commentedIt doesn't work for me, even after downloading the latest one.
Comment #23
kavita_k commentedHi,
Even I am facing the same problem. Please help...
Comment #24
cleverhoods commentedHere is a little solution. This is the quick and dirty method
This is work for me.
Copy this code in to your webform_block.module file save and tadaa ^^
and of course I'm very sorry to not creating a patch, but it too late for me to do such a thing ^^
Comment #25
quicksketchAll the functionality of Webform Block is now included in Webform 3.3. This module is no longer necessary.