Cannot load node-article.tpl.php in Drupal7

Hello,
i want to theme the node.tpl.php for content type article.
If i modify the node.tpl.php in sites/all/themes/bartik/templates i can see modifications, while if i create a node-article.tpl.php i can't see nothing, all as before where no notifications.
If i mantain all 2 tpl.php files i see only modifications of general tpl.php file.
Maybe i need to modify some configuration to load node-article.tpl.php?
I search it more times, but i find always same informations and never anyone with my problem.
Anyone can help me??
Thank's alot.

This topic has been moved to

Have the problem that the topics all show "This topic has been moved to".
Upgraded from Drupal 6 toDrupal 7, all old forum topics are working fine.

First i had the problem that new topics did not show up in the forum at all,
after reactivating and upgrading advanced_forum it seemed to work.

At least they show up in the right forum, but with that message.

I had a look in the database and it seems that the new created topics are in
the "nodes" table but not in the "forum_index".

Any idea's ?

-Dannie

drupal_http_build_query() in common.inc

When I try to change a page, an article and so on, I get this since 2 days:

Recoverable fatal error: Argument 1 passed to drupal_http_build_query() must be an array, string given, called in /home/.sites/415/site1237/web/includes/common.inc on line 2157 and defined in drupal_http_build_query() (Zeile 473 von /home/.sites/415/site1237/web/includes/common.inc).

I checked all support forums available on the internet but to no avail.

Just do not want to start from the beginning...
It has something to do with the drupal core, I am sure now.

Avoiding code redundancy in multiple page.tpl.php files

Hi everyone,

Just interested to know how you guys counter the possibility of repeating code when you have multiple page.tpl.php files for different content types.

At the moment, when we create a new page template, we copy all the code from the page.tpl.php file and then modify it to our needs. Clearly this can create a lot of redundancy, for example if I want to change any of the code in the header for example... I'd need to modify this on all page.tpl.php files in the template.

Moving "data" but not tables

Hi.
I have a very very old drupal installation that has been upgraded over and over again from the 5.x days. Modules have been installed, removed, reinstalled, etc. Some installations have failed, some have succeeded, but I've always managed to get the site running again. I recently upgraded to D7 which worked perfectly.

Rewriting main menu (inserting span)

My main menu outputs:

<a href="/cases">Cases</a>

But I need

<a href="/cases"><span>Cases</span></a>

I can do this with Jquery but I would like to make the template do this directly, how?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x