Post
Guest
MonikaTS
10:22 pm June 4, 2009
Hi I'm using the latest version of cforms -with both patches,
if I use he form in an article it works like a charm but after upgrade widget doesn't show anything
in source I found this
<form enctype ="multipart/form-data" action ="…. fieldset class ="cf_hidden" > <legend > </legend > <input type ="hidden" name ="cf_working0" id ="cf_working0" value ="" / > <input type ="hidden" name ="cf_failure0" id ="cf_failure0" value ="" / > <input type ="hidden" name ="cf_codeerr0" id ="cf_codeerr0" value ="Bitte%20%C3%BCberpr%C3%BCfen%20Sie%20die%20Antwort.%20Gro%C3%9F-Kleinschreibung%20ist%20auch%20wichtig.%20Danke%21" / > <input type ="hidden" name ="cf_customerr0" id ="cf_customerr0" value ="" / > <input type ="hidden" name ="cf_popup0" id ="cf_popup0" value ="" / > </fieldset > <p class ="cf-sb" ><input type ="submit" name ="sendbutton0" id ="sendbutton0
but the same form works like a charm in content
any ideas
thanks a lotmts
Admin
Oliver
Munich, Germany
posts 6237
2:52 pm June 6, 2009
what widget?
it looks like the form referenced is wrong, there is no form '0'. how did you specify the form?
Guest
MonikaTS
10:06 pm June 7, 2009
I give her a name
create the form and the form does work on a page
I go to the widget panel choose the widget with the forms name and give it a title
thats all – I hopw I understand your question
German language or CSS are my preferred languages ;)
thanks
Admin
Oliver
Munich, Germany
posts 6237
11:27 pm June 7, 2009
i got it. and the not showing happend directly after the cforms upgrade?
odd, since I can't replicate. does this happen too with the WP default theme?
can you make a duplicate of the form and use this second form in the widget control…does this one work?
Guest
MonikaTS
10:25 pm June 17, 2009
Hi I'll try it,
this days I had so much troubles with all the customers who would like to update ;)
so I can't answer
thanks
Guest
MonikaTS
10:41 pm June 17, 2009
ok ..now I have WP 2.8 cforms works like charme and the widgets too
… I have screenshots -so I know that I have seen what I have seen and I'm not a fool ;);)
thanks for our work this plugin is great very great
Member
sc0ttkclark
posts 10
5:51 pm June 19, 2009
Looks like this is an issue with the cforms code, to get it to work with WP 2.7.1 you have to change:
preg_match('/^.*widgetcform([^"]*)".*$/',$before_widget,$form_no);
to:
preg_match('/^cformsii-no(.*)$/',$widget_id,$form_no);
in cforms.php in the widget_cforms function around line 1294.
Admin
Oliver
Munich, Germany
posts 6237
9:13 pm June 21, 2009
..which certainly is a valid workaround for themes that haven't implemented sidebars properly. Sadly, you'll even find commercial themes with only partially implemented sidebars.