Node hooks not being called for custom node type in D7

I'm working on a custom node_type module for D7.

Problem: Even though I have my 'base' set in node_type, via hook_node_info, the callbacks for my module are not called (hook_form or any other corresponding node hooks such as hook_insert, hook_load), but it is called when I use hook_node_form (or hook_node_insert, hook_node_load).

Question 1: Is this intended behavior or am I missing something?

Use full name instead of username in node view in D7

Hello!

I've setup a content type called 'Publications'. In this content type I use a 'user reference' field (module: references) to be able to add multiple drupal site users as author(s) of a publication.

Using the Views module I've created a table containing the Author(s) and Title, etc. for each publication. The output of the view is fine, except that it displays the Drupal user name as Author.

Instead of the Drupal user name I would like to display the full name of the user. Therefore, I've added a new field to the user profile containing the full name.

ask help for clean URL ? anyone can help me out ???

I installed nginx + php + drupal 7 at my windows 7 for test . But i cannot turn on drupal 7 clean url , i search answer from many webiste but still cannot turn clean url on , So please help me out !!!!!!!

the following is my nginx rewrite :

location / {
root E:\www-test\mywwwroot\drupal-7.0;
index index.php index.html index.htm;

# the main drupal app
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last;
}
}

node-[type].tpl.php not working

Hi,

I've got a content type called 'news'. Creating a template called 'node-news.tpl.php' isn't working (yes, i've cleared the cache). This used to work in Drupal 6? What should I do to get this working in Drupal 7?

Adding a drop down list from another Content Type in a CCK created form .

hi there ,

i am confused with some thing , i have created a form using CCK . And content Type of the form is "Special Product Offers".

And i have created another content Type "Markets" , with market name and picture fields .

Now i need to Associate/add the Market ID with Special Offers when i am entering Special Offers.

If it would have been a simple PHP application , i could have added a Drop Down from Markets table in Special offers form and done it easily .

CCK doest not allow me to bring content in a drop down list from another content type .

How to make the two sites with same drupal core, how to place different website folder in root folder/

How to make the two sites with same drupal core, how to place different website folder in root folder.

I need to know that with drupal core we can make the diffrent sites ? if yes then how? how the two site folder place.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x