Drupal Hooks (hook_form_alter) -


I ask a question about the hook because there was a lot of experience with the hook due to the new kind of Duplicate I A friend of mine suggested it to be familiar and learned it to solve one of my problems on my site.

The thing is, I have a module fbconnect which I use to connect to Facebook through Facebook and use my profile picture on my site I am

Everything is working, what? ??? There are two checkboxes that work in connection and profile images very well, but the problem is that I should see a descriptive text above the two checkboxes. The only way in which I have been put into this lesson so far, is to make a "statement" field on the first check box Unfortunately, it chooses to display this text below the checkbox, so now it's a checkbox Looks like a strange, a 3-4 line detailed text on the entire Facebook function, and then another checkbox.

If the hook is the correct way to solve this problem, how can I actually do this and where do I really connect the hook? I can imagine that this is the hook_form_alter function that I need and the function fbconnect_form_alter is present in my FBconnect module, but from where I go, is not.

I've tried to read and watch some directing videos about the hook, but IĆ¢ € ™ m still surprised about this apparently very good feature in Drupal. I am using Drupal 6 for this site.

Any help or advice will be highly appreciated.

It looks like you need to see the theme system in Drupal May be. Specifically, by taking a look at the code keeping an eye on the code, it seems that a label is given after the actual checkbox. In your custom theme function or theme file you can try to change the order of two.

Comments