This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Taxonomy Theme Module, styles returned twice

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

Thanks, Suzy

Dynamicly Changing the Title of a Node

Hi,

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.

Thanks in advance.

what code generates the list of comments on a node ?

Hello,

When you view a node that has comments attributed to it what code in the comment.module is being called and how is it being called ?

Thanks in advance for any help you can give me .

Regards Paul

Image Module, view original picture link

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.

image.module 4.7

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.

Change the page a user returns to after editing a node.

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.

Cheers for any help

Tom

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions