This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Module Update

Hi Community,

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?

Ty for answers :)

[solved] Field Module - custom validation and modify value #element_validate and form_set_value()

Hi,

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:

Help building a booking form with Form API

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?

Add a field between radion button

Hi,

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.

phptemplate_views_view_table_viewname

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...

function phptemplate_views_view_table_workflow_actionrequired($view, $nodes, $type) {
print "here";
die();
$fields = _views_get_fields();

Use Drupal accounts for external login

Hi,

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.

Thank you very much

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions