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?
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.
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;
}
}
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?