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

Submit to two tables

I am wanting to include Go Module (don't know where it has gone, but i've still got it was in CVS - works 'ok' for me) into my module.

So that I can create an external link (go module) from the same form as my module.

How do I do this OR how do I submit to two tables with my module's form?

The Category Module

The Category module has received much praise, and there may be a tendency to replace Drupal's taxonomy with Category. On the surface, it doesn't seem to hurt, because the Category module seems to be a generalization of the taxonomy module. That is, if you don't want the additional features provided by Category simply disable them.

I've followed discussions (example: this thread) related to taxonomy and Category for a while now. Last night I installed the Category module and played around with it. Everything went well. It's an impressive module and I admired the author for taking on this task. But ..... if people want to replace Drupal's taxonomy with Category, I think it'd be a mistake. The current taxonomy module needs much improvement to take it to the next level, but ... replacing it with category is not the right thing to do.

I'm writing not to criticize Category but to hope people will improve the current taxonomy and take it to the next level.

Essentially, we are talking about three main things: static content (e.g. book pages, "about us" type of pages), dynamic content (stories, forum topics,) and taxonomy.

Taxonomy is not exactly static or dynamic content and it would be a mistake to generalize these three things and give users the option not to use them. 99% of C++ programmers do not know the existence of the "throw clause". Why? it's optional, and nobody uses it. Java requires the "throws" clause and it is a great thing. Making things optional can be very dangerous. Taxonomy terms don't really need all the types of treatment that a node/content needs. For example, "comments", etc. I feel that in a long run these things can create loopholes and artifacts on taxonomy that are not pleasant at all.

The title of the latest 3 articles as a image!?

While i was browsing a german seo forum, i saw an interesting thing.

There is a user (jojo), who has a image in his signature, with the latest 3 article-headlines of his blog!

You can see it here http://www.abakus-internet-marketing.de/foren/viewtopic/t-25617.html#211562

The image autotmaticaly will updated, if a new article is written! i love this.

Can somebody do this for drupal, i know thats less code, only some lines.

how to add // $Id to file in CVS.

How to add the following. e.g.

<?php
// $Id: groups.module,v 1.38 2005/03/23 20:16:19 killes Exp $

Can you use upload.module on files that weren't "uploaded"

I have been working on a module that extends mailhandler to let you save attachments (example here). However, at the moment I have repeated a lot of code that validates the attached files and then updates the database.

I tried several times to see if I could use the facilities built in to upload to do this for me (and then it would mean that if upload gets changed I take advantage of that).

I had a few goes at trying to pass data in to upload, but none of them worked. Am I trying to do the impossible, or am I just missing something.

Just to be clear...

  • My module processes an incoming email and saves any attachments in to a temporary folder, using hook_mailhandler.
  • Mailhandler creates the node from the text
  • I then hook in to node_api to see if there were any attachments
  • If there are attachments I then run my own code to check the uploads, fix the types, check the sizes, and finally I manually insert in to the files table. That code is pretty much lifted from the validate case of upload_nodeapi.

What I couldn't work out is if there is any way to use the built in file features to do that validation, or even configure my attachment mechanism so it is automatically parsed by the built in upload validation!

Any assistance very much appreciated!

gallery2.1.1a can't work in rewrite within drupal

drupal 4.7.0. cvs( and rc3)
gallery 2.1.1.a
gallerymodule cvs.

i can access gallery in standlone site, url http://site/gallery2
and ,i can access gallery in drupal without url rewrite url http://site/gallery

i want to use rewrite link , so i came drupal into admin->setting->gallery->directory settings
URI of Gallery2:
http://site/gallery2/

Pages

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