Hook_form_alter and 'Create Article' page?

I'm trying to alter the admin 'Create Article' and/or 'Create Page' forms... but I'm not having any luck.
Are these pages 'special' and can they not be changed using hook_form_alter, or am I doing something wrong?

I'm using this code to figure out whether my _form_alter gets called at all, but have also tried 'echo "hello"; exit() / die();' without any result..

AJAX Form Call to undefined function validation()

I've created a form which works fine, but when I add ajax to it, I get the error message when ajax is triggered...

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /system/ajax
StatusText: OK
ResponseText: 
Fatal error:  Call to undefined function my_form_name_validate() in C:\*\includes\form.inc on line 1409


Update:

If I move the form functions into my .module file, I don't get the AJAX error... any ideas why it's not working from an inc file?

Drupal location module - geocoding tab?

Hi everyone,

I'm quite new to drupal, and I'm trying to build a simple site with it. Now i'm trying to use the location module along with the gmaps module. However, I can't get geocoding to work. I understand that I have to look at the geocoding options tab, but I can't open the tab. The page doesn't show like it's supposed to. I completely started over, and reinstalled drupal 7.4 and the location module, but it simply doesn't work...

a site for orders

Hello!

I have only the basic knowledge about drupal.

I want to create a site that ll have groups of members . Every group ll be something like a small e-shop. The administrator of every group ll can post/suggest in his group products and the members ll can order. The administrator of every group ll can see the total of orders for every product and members ll can see only their cart.
that is in general what i want to do.
what modules should i use?
i tried to use organic groups an ubercart... maybe there is a better way...

The output of the module to the home page

Hello How to display module upload to the main page? To all users to upload their files. Or through some additional module is implemented?

===
Здравствуйте. Как вывести модуль аплоад на главную страницу? Что бы все пользователи могли загружать свои файлы. Или через какой дополнительный модуль это реализуется?

Does DrupalCloneTestCase is ready to use and how to use it ?

Hi,

I would to know if the DrupalCloneTestCase Class in SimpleTest project is ready to use and how to use it ?
I ask this because the main patch (#983266: DrupalCloneTestCase is not able to clone the database) isn't working with me and need test.

Aleanar

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x