Hi

i've this in my log about un webform block on any of my forms ( 3 at all)...whats about ? is it linked with the wrong redirect patch issue on my forms ?

thanks

Comments

aiphes’s picture

little extract :


Array ( [#tree] => 1 [nom] => Array ( [#type] => textfield [#title] => Nom [#default_value] => [#required] => 0 [#weight] => 1 [#field_prefix] => [#field_suffix] => [#description] => [#attributes] => Array ( ) [#prefix] =>
[#suffix] =>
[#webform_component] => Array ( [nid] => 20 [cid] => 2 [form_key] => nom [name] => Nom [type] => textfield [value] => [extra] => Array ( [disabled] => 0 [width] => [maxlength] => [field_prefix] => [field_suffix]
....
[#webform_component] => Array ( [nid] => 20 [cid] => 3 [form_key] => sujet [name] => Sujet [type] => textfield [value] => [extra] => Array ( [disabled] => 0 [width] => [maxlength] => [field_prefix] => [field_suffix] => [description] => [attributes] => Array ( ) [unique] => 0 [conditional_component] => [conditional_operator] => = [conditional_values] => ) [mandatory] => 0 [pid] => 0 [weight] => 3 [email] => 1 [page_num] => 1 ) [#element_validate] => Array ( ) [#validated] => 1 ) [email_destinataire] => Array ( [#type] => hidden [#title] => Destinataire [#default_value] => webmaster@provence-formation.fr [#weight] => 4 [#validated] => 1 ) [message] => Array ( [#type] => textarea [#title] => Message [#default_value] => [#required] => 1 [#weight] => 4 [#description] => [#rows] => 5 [#cols] => 60 [#attributes] => Array ( ) [#resizable] => 1 [#prefix] =>
[#suffix] =>
[#validated] => 1 ) )

quicksketch’s picture

I'm not sure what you're describing. What causes this problem?

aiphes’s picture

cause i've an wrong redirect issue, perhaps this warning is linked to that...because its clearly a warning about webform no ?

quicksketch’s picture

Have you applied a patch or modified the Webform code in some way? Support on writing custom code or using modified versions isn't provided in the Webform queue.

aiphes’s picture

no i use the 6.x-3.0-beta2 with webform block 6.x-1.x-dev and webform conditional 6.x-1.x-dev.No patch, no adding custom code...but this happen only on my local dev website, not on the production one..redirect issue is on both..i try to make 2 similar websites (local and distant : same modules;same setup) but anyway there are differences..

quicksketch’s picture

I do not think you can use Webform Block with the 3.x version, unless the project page explicitly says that you can. You won't be able to use that module until the maintainer updates it for the latest version of Webform.

aiphes’s picture

ok but how can i do if i cant use the webform block ? because i include these blocks in pages, so my css design will be brake or i would find a way to make a tpl for webform content type...
do you know how i can do ? in this case, i will not have utility of webform block at all..

quicksketch’s picture

Status: Active » Closed (fixed)

See #248157: Allow any Webform to be displayed as a block. I do not provide support for theming or custom coding in the Webform queue, so I am closing this issue.