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

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

about e-commerce's product

i want to let everybody can turn node(non-products and added by other body) into products,how can i do?

[event module] private calendar?

How do I maintain private calendar using event module. Is that possible?

Please explain difference between branching and tagging - and when does CVS get updated?

I'ld be really grateful if somebody could explain this to me - I am really perplexed about how CVS works and nervous about trying things out on the Drupal CVS for fear of making a mess.

I should explain first that I'm using Tortoise CVS on Windows, so my view of how CVS works could be distorted...

Here's my problem: So far, I've successfully contributed several modules by loading them into CVS and then using the "tag" command on each individual file in the appropriate directory. This seems to work - you can download the zipped collection of Freemind files (there's the install.txt, the licence, the module itself, and a couple of example html files) for version 4.6. But now, I have begun converting my modules for 4.7 and I would like to create a 4.7 collection of the same files. Since only the module files has changed (all the others remain the same), there doesn't seem much point in uploading everything to CVS again. What should I do?

In the end, since I had already seen "tag" work, I loaded the new "freemind.module" file and tagged it DRUPAL-4-7. This has worked, up to a point. You can now download the Freemind module in 4.7 version, but logically enough the other files have not been included in the collection.

Should I create a branch or tag all the files? I suppose I could "tag" all the other files as well, but would this not then cause the 4.6 versions to disappear? Or should I create a "branch" (of the directory, or of all the files?) and what will happen if I do?

Pages

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