Modifying CCK fieldgroups with hook_form_alter()

I was writing a module to conditionally hide a fieldset on a CCK node editing form based on whether the user is logged in or not, and for a while I was very puzzled as to why my custom module’s implementation of hook_form_alter wasn’t seeing any of the fieldsets defined by the CCK fieldgroup module.

I searched Google for the terms ‘cck fieldset hook_form_alter’, which led me to a helpful tip from Benjamin Melançon:

read more

Syndicate content

Twitter

  • Kudos to bulkregister.com phone support, who helped me transfer a domain to another registrar without any cajolery. 3 years 51 weeks ago
  • Here's how to use your own OpenType or TTF fonts with LaTeX. (Not for the lazy) http://bit.ly/bwJ8uq 3 years 51 weeks ago
  • Columbia http://flic.kr/p/8u9rSF 3 years 51 weeks ago
  • I just became the mayor of Winchendon Post Office on @foursquare! http://4sq.com/bKtAWl 4 years 1 week ago
  • I just became the mayor of The Glenn Cafe on @foursquare! http://4sq.com/aJ1btT 4 years 1 week ago

Older

Contact

Andy Chase
(978) 297-6402
andychase [at] gmail.com
GPG/PGP Public Key