Field type drop down list - dynamic set of options

Having field type List(Text), I am trying to alter the node entry form to populate the options dynamically from a table.

So, in the Drupal UI in field settings there are these values in the Allowed Values List: "one, "two", "three". Any static values.

Then in hook_form_alter I put the following code:

Pagination

Hi,

I have the pagination (1,2.. next, last) appearing on top and bottom of the content. How can I remove the top pagination ?

Thanks

Drupal 7 theme not working

Please help me solve this problem..
I am pretty new at drupal, but I have created a simple costum theme following this guide:

http://www.apaddedcell.com/how-create-drupal-7-theme-scratch

everything worked fine on my localhost server, but after uploading it to the web server drupal tells me that "This version is not compatible with Drupal 7.x and should be replaced".

this is my info file:

hook_theme_registry_alter to override another module template

Hi,

I am working on a module which will display more info in user's page(user-profile.tpl.php).
(Yes, hook_user_view is another option, but I want to put my HTML code in tpl files)

I have the following in my module:

Cannot remove Book module

How do you FULLY disable/uninstall the book module?

I added/installed the Drupal Core module - book module, but after inspecting it i have come to a conclusion it's not going to be used after all despite it was planned, but i can't fully remove it....

PDOException: SQLSTATE[23000] when enabling/disabling modules

I get this error when enabling/disabling modules and enabling/disabling more than module at once is impossible.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x