Posting to module development because I'm willing to fix it if it's broken...
I am just evaluating drupal, playing around. I wanted to have long articles page and found I needed the paging module, at least it seemed so if i want to control the breaks with
But it doesn't work for me. I've set everything I'm certain after reading other posts, there are a few different places to set I realize.
I am wondering if it is possible to validate certain field values using regex. If so where might I look to edit or add them? I want to validate the profile inputs so that they use regex to determine the value entered is 2 characters followed by numbers. I already have the regex I just need to find a way to use it. Is there a validation module or anything like that?
Ex Correct value for input box (MK33455) Incorrect Value for input box ( SDE333) // note the 3 chars
deal all
i found this link http://code.google.com/apis/adsense/
which might be of more interest for drupaler coders to implement it into the adsense module in drupal
it would be wonderful if this happened
as it's mentioned on the google code page:
I'm sure it's something simple, but I'm failing to find a way to use the nid to get the node type when I don't have access to the $node array. I'm using hook_comment to insert some stuff into the comment form, but I only want it to show up if I've checked the "use thingy for this content type" checkbox in the workflow section for that node type. Sadly, the $a1 array that gets passed into the form case in hook_comment doesn't contain the node type of the node that's being commented on, but it does contain the nid.
hi, i've written a module that, when a node is published send a mail to my mail address and tells me that a node has been posted.
i've done a node/module that i will use for my scope and, once the node is submitted, set it to unpublished (by default). i've done this using node->submit (in my module) and, here, i've set the $node->status = 0 (node unpublished).
So, now, to publish this node, i've created a form button (declared in template.tpl and called in node.tpl) that set the node->status to 1 (node published), using a query like this: