Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
here's the thing I'm happy :)
I so wondered how to theme seperately on either a category or an ad-hoc basis.. and I found just the module for the job
My question is fairly minor, I hope.. the stylesheets (print $styles) are being returned twice whenever a node or category or admin section is assigned a seperate theme.
I do have an override in template.php.tpl in order to call a Conditional Comment and override drupal.css, but I removed that and the problem remains
Have I missed a patch, can't seem to find anything on site search or SE
I am developing a custom module that has a user make a selection from 2 drop down lists. I would like to have the node title be a string that is the combination of the 2.
Example: The user selects the Red Sox in one drop down and Yankees in the other drop down. The title would be: Red Sox vs Yankees.
Where would I make the change to the module to make this happen? I tried to add a few lines to the insert hook, but no luck.
I'm still using 4.6 and the Kubrick theme for a website and the image module is installed. When you make it available for a user to click on the view original picture link, it works just fine. The problem is, it bleeds across the blocks on the right since it is a fixed width theme.
How can I go in to the Image module and tell it to display the image in a seperate window without all the node and drupal page layout. I just want the picture by itself...any ideas or help on where exactly to change it? I thought I had found it once, but it was a no go. Any help would be great.
I'm checking out the new image.module (v. 1.97). Unfortunately it seems, that I can't create nodes of the type image without the need to add these to an existing gallery. If I don't add them to an existing gellery I get SQL-errors like these:
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND n.status = 1 ORDER BY n.created DESC' at line 1 query: SELECT n.nid, n.title FROM tgk_node n INNER JOIN tgk_term_node t ON n.nid = t.nid INNER JOIN tgk_term_data r ON t.tid = r.tid WHERE n.type = 'image' AND n.created < 1147781495 AND r.tid = AND n.status = 1 ORDER BY n.created DESC; in /srv/www/htdocs/drupal-03/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: SELECT name FROM tgk_term_data WHERE tid = ; in /srv/www/htdocs/drupal-03/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND n.status = 1 ORDER BY n.created ASC' at line 1 query: SELECT n.nid, n.title FROM tgk_node n INNER JOIN tgk_term_node t ON n.nid = t.nid INNER JOIN tgk_term_data r ON t.tid = r.tid WHERE n.type = 'image' AND n.created > 1147781495 AND r.tid = AND n.status = 1 ORDER BY n.created ASC; in /srv/www/htdocs/drupal-03/includes/database.mysql.inc on line 120.
I've added edit links to each node on an overview page so a user doesn't have to view the full node in order to edit it, however, after editing a node and clicking submit I would like the form to return to the overview page where they originally clicked edit. I've looked at the forms API documentation but can't get my head around how I might do this.