[Imc-drupal-dev] newbie question
ameba00x
ameba00x at bugslab.net
Mon Nov 27 23:33:41 PST 2006
hi,
I'm a real newbie and I'm trying using drupal since a week.
I'm using the newswire module with the normal drupal db, I modified a
little bit the select query (just removing the n.body), i'm using the
normal drupal anonimous posting to post to newswire a story.
I have a couple of questions:
1- Newswire story comes from anonymous (uid=0) , why not filter the
newswire with this field?
2- I have created a query that put in the term_node the nid and the
tid (constant, =1, because is the newswire)
3- I had to comment out this line of code in node.module script because
after drupal make the insert query, it does a delete query too.
// Call the node specific callback (if any):
if ($node->is_new) {
node_invoke($node, 'insert');
//node_invoke_nodeapi($node, 'insert');
}
by commenting the line above it doesn't make the delete query but i
don't know what happen on the whole software.
thanks
ameba00x
--
Rendi anche tu l'internet un mondo migliore, impara a quotare!
http://wiki.news.nic.it/QuotarBene
by alice
More information about the Imc-drupal-dev
mailing list