Ok, so I've created a block called 'my drafts' where a user can access content that they have created and set the workflow state to 'draft' which is set to the action 'unpublish node'. This is the code that brings up the list:
Hello -- I am trying to connect to a table within the Drupal DB thru a function but I am not sure if I am doing it properly. Here's what my code looks like:
function getRequestURL(&$node) {
...
$ss_temp = db_result(db_query('SELECT
keywords FROM {ssm_keywords} WHERE nid = %s', $node->nid));
printf($ss_temp);
...
}
The printf($ss_temp); does not seem to return anything -- I think I am doing something wrong, grossly -- does anyone have some guidance?
I have tinymce enabled for blogs. I have nodeteaser enabled. Now I don't want html or tinymce enabled for the teaser portion, but need it for the blog body.
What would be a good approach to achieve this?
(This could be for any webform where we need to have tinymce for one textarea but not for another within the same node type.).
I think the 'Refine by Taxonomy' module is essential and should be upgraded to drupal5. Unfortunately I have no php skills, but I'd be willing to chip in/sponsor the upgrade to drupal5.
hope to find someone or more people that share my opinion.
I am writing a custom newsletter module for Free Software Magazine.
Right now, the newsletter is sent using a custom Perl script. It does the job, and it even restarts sending email if the sender process dies. However, I have several good reasons why I would like to get the server to send the newsletters.
Now... we send out around 35000 newsletters out there. That's a lot! The script that sends them:
* Needs to keep running for 3-6 hours - no timeout!