Define list_text field programmatically

Hi,
I use Drupal7,
I'm making a module to define a new node type, I need to do it programmatically.

I don't know how to define options of a list_text type field.

Can you help me?

How to install news blog on the front page?

Sorry for the newbie question. How can I have the administrator blog as a front page? The blog is at ?q=blog/1. I tried everything. :|
Or is it impossible? Thanks!

Subdomains with D7: Best / Standard Practices?

Hi,

I've searched drupal.org and looked over all sections of the D7 documentation, including the advanced installation stuff, and haven't been able to find anything related to this. If this post is in the wrong section, please let me know.

Page Module driving me crazy

Boo and hiss as you please. I have searched drupal.org, google, and my own site 30 times for the answer and it eludes me. I cannot figure out where the "Page" module is hiding. It's not in my modules list or directory and is not listed as a Content Type. I could find it easily enough in Drupal 6.x but in 7.x I am *headdesk*-ing trying to figure this out. Sure, I can create my own Content Type and it will behave basically the same. But it doesn't seem right. Shouldn't it be included and easily visible?

Connect database table records to nodes

Hello all,

I am new to Drupal so i don't know if the things i did are right.

1) At first i created a table "products" in drupal database.

2) I created a new node "smartphones". And put in the body section some PHP code to fetch the results from the products table. It fetches the TITLE of a product, the TYPE etc...

The thing i want is: The Specifications of a product to be dispayed on another page.

For example in "smartphones" node It fetches: TITLE: "Nokia N8", TYPE: "Smartphone" etc....

Weird missing front page effect.

Firstly, I apologise for using the word Joomla here but I admit to flirting with the competition before finding Drupal.

I installed Drupal 7 in a sub-directory on my IIS 6 server (joomla.stalbans-pontypool.org.uk) whilst developing the new site for the school and, when development was complete (the head needed it launched!) my IT guy simply switched the existing www domain (www.stalbans-pontypool.org.uk) to point to the Joomla folder that contained the Drupal installation. Then it got weird.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x