Is there a way to automatically tag a certain content type?

Thanks.

Comments

zeta ζ’s picture

Create a file called node-type.tpl.php in your theme which is a copy of node.tpl.php. Then edit it to include your tag, class etc.
___________________
It’s in the detaιls…

Flying Drupalist’s picture

Sorry, I meant tag using the taxonomy module.

zeta ζ’s picture

Have a look through http://drupal.org/project/Modules/category/71

I know there’s a lot to get though, but you will get a good idea of what is possible using taxonomy, which might come in useful later.
___________________
It’s in the detaιls…

Flying Drupalist’s picture

Hi, I'm not sure what I'm supposed to be looking for. What I need I think, is a sort of a multi-node editor or same kind of mass database editor. If anyone knows about anything like that that be great, thanks.

zeta ζ’s picture

The tools are right there on your favourite website D.O

I’m sure there is a module that will provide a default taxonomy term for your nodes – might even provide a default per node-type. There are at least two multi-editors for taxonomy terms.

You can find these by looking though the modules category that I have indicated above, or use the search on D.O with appropriate keywords.
___________________
It’s in the detaιls…

Flying Drupalist’s picture

Jeez thanks. I guess I wasn't being thorough in my search.

matslats’s picture

I'm just about to commit a module called autocategorise.
This adds a checkbox to the vocabulary edit page.
If the box is checked then when a node is saved, the taxonomy scans the node body looking for matches with its synonyms. It then tags the node once or even many times according to the vocabulary settings.
Is that what you want?

Flying Drupalist’s picture

It wasn't what I was asking for, but YES!

Great mod, I'm trying it right now. Thank you.

Nick.Tereh’s picture

Module «Mass tag»
http://drupal.org/project/masstag

Allows administrators to apply a taxonomy term to all posts containing a given keyword or phrase. Requires the core Search module to provide the index of nodes.

The awesome Views Bulk Operations module provides a much better solution but I hit a memory limit issue and needed this small utility module.

infojunkie’s picture

What was the memory limit problem that you hit with VBO? Maybe I can fix it.