Closed (fixed)
Project:
Form Markup
Version:
master
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2006 at 11:44 UTC
Updated:
12 Feb 2007 at 16:40 UTC
Hello,
i just installed the mod and configured couple of my multiselect menu text fields to have <div id="name"> as prefix and </div> as suffix, but i cannot then see them nowhere in the form submission page code, or on node output code neither.
Maybe i misunderstood the purpose of this module, but it's not to allow more styling of CCK forms?
Thanks for any hint!
Comments
Comment #1
mh86 commentedThe module is exactly made for adding your own code to cck fields, like a div.
I tested it again, and in my forms prefix and suffix appear. Do the markup values appear in the widget settings? Would be interesting!
Thanks for any help!
Comment #2
marcoBauli commentedyes, the markup fields do appear in widget settings. But even if i insert there my divs, the code in the submission form appears exactly the same before and after the change:
Also a Warning is displayed:
Invalid argument supplied for foreach() in /home/citysnap/public_html/ka/sites/default/modules/form_markup/form_markup.module on line 47.
(..cannot swear it, but i think this happened after the update to
today's version..)
I am on 4.7.2 and my CCK version is 1.56.2.4 of the 07/11
Comment #3
mh86 commentedprefix and suffix values appear outside of the div class='form-item'!
the reported bug has been fixed (form_marlup version 1.4)! Thanks!
Comment #4
marcoBauli commenteduhm..updated to latest form_markup version but it does not work for me..
I keep getting:
warning: Invalid argument supplied for foreach() in /home/citysnap/public_html/ka/sites/default/modules/form_markup/form_markup.module on line 47.
on all of my content-types submission forms.
Also the values i specify in field widgets are not remembered (once i submit my prefix/suffix the default cck message confirms my changes are saved, but if i check back, the two fields are empty!)
and no prefix/suffix out of the div class='form-item' neither..
Comment #5
marcoBauli commentedUpdate: probably CVS version wasn't updated yet (we are on the bleeding line testing here ;)
manually updated to 1.4:
now the Warning disappeared, but still the other 2 problems are there for me (fields not remembered and prefix/suffix do not appear).
thx
Comment #6
mh86 commentedI tried it again with an older version of cck - and yes your reported problems now occur. I've not yet checked where the differences to older versions are. I would recommend you to update to a newer version of cck!
Thanks for your help!!
Comment #7
marcoBauli commentedjust a bit lazy to update everything to the new content_ content types, but your module made me take the step up for it. Everything works like a champ now and is hugely useful!
thank you :)
Comment #8
mh86 commented