form_alter

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
altrugon's picture

How to use AHAH inside a form_alter hook?

I'm trying to add AHAH functionality inside a hook_form_alter() to be able to add an icon next to the block titles.

Here is how all this procedure works:

Read more
laken's picture

Need help with node/add panel override and CAPTCHA

While I've been using Panels 2 extensively, I've only just started with overriding the node/add form and have run into a bit of trouble.

The use case is simple: we have a Volunteer node type and want anon users to be able to submit this form and create unpublished nodes for later admin review. We use panels for layout and sidebars for all the user-facing pages on the site, so we wanted this form to be in a panel as well.

Read more
Fixdit's picture

Form API: Some basics

The goal is to have Drupal become putty in our hands and to be able to do with it as we will. I thought I'd make this first post in the Lab a pretty basic one. I wanted to cover some basics of the Form API. It's very useful and extremly powerful.

Read more
pwolanin's picture

Evil with Forms API in 6.x

A small follow-on to brilliant past posts by Moshe and Angie:
How to dizzy the next guy
#DANGEROUS_SKIP_CHECK: the most evil of the Form API properties

Since core is mostly frozen, I'm thinking of evil ways to use new features in the Forms API for 6.x.

Read more
walkah's picture

Toronto July Meetup : form_alter for fame and fortune

Start: 
2007-07-10 18:30 - 20:30 Canada/Eastern

Based on some discussion on the mailing list, I thought we could spend some time this month looking at the site customization secret weapon : hook_form_alter (and it's _alter relatives). There are some pretty powerful ways you can alter core behaviours without having to hack a single line of core code.

Also, we'd love to see some show and tell, so bring yer best hacks / tricks or design :)

That's not all! July 10th happens to be my 30th birthday, so you're all invited to join us afterwards for drinks an good times. See you then!

Time: 6:30 - 8:30 pm Tuesday, July 10th
Location: LinuxCaffe 326 Harbord St. [map]

Read more
Subscribe with RSS Syndicate content