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.
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.
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.
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.