i have a question. I build an module under the version 7.x . I used the hook_install to create my db schema . Lets say the version of the module is 0.1 . When i now changed the version of the module to 0.2 and i want add some tables to my schema . Did Drupal auto add the changes or must i use some hook for this?
I've created a simple field module and lets say i want to do the following:
- Only numbers are allowed * easily done
- if the number does not begin with a zero (0) I want to add it before the value is entered into the database. * can't seem to figure this one out
I wrote a little function to check if the value starts with a 0 or not:
I've been playing with Form API to try to build something similar to this booking form http://www.halfordsautocentres.com/Basket/?fasttrack=false is form API the best option for creating this type of form? Anyone got any examples of doing something similar?
I have a radio button with 3 options and i want to add a field under each button to when i choose a options of radio button a field type text appear to write some text.
i don`t have any idea to do it, could you help me please.
Hi
I'm trying to customise my table view so I've added the following into my template file but just can't seem to see any changes to my view. I've cleared cache for both theme and views. thanks in advance...
is there chance how to authenticate user on website against user database in Drupal?
This can be very useful when we have projects on subdomains and users can login via account already created in main Drupal CMS (some kinf of external authentication for allowed websites). I try to find some existing modules but have no luck.