How can I add extra text/buttons to blog.module/add blog screen?

Hi,

I am looking for a solution to the following "problem":
I want my visitors to be able to insert images that are attached to the current blog post.
Let's say there are 3 images. I would like to have 3 buttons, all with different links. Since I am using the inline module (which works nice!), I'd like the 3 buttons to add text in the main textarea which holds the story. When the visitors clicks on a button, the text "[inline:X]" should be inserted where X stands for the corresponding image (1-3 in this example).

whahay! now we can tag posts for versions...nice one..

I only noticed this today...but, you can now tag your posts for the version of Drupal it refers to ...nice one guys (the guys at Drupal.org) it's a minor change, but, it will help immensely in future when searching.

As a quick suggestion..is it possible to automatically tag all posts made before, let's say, September 1st 2005 to be tagged as "Drupal 4.6 or earlier"?

I think it's unlikely that people will go back and edit all their old posts to re-tag them appropriately. So at least that will give the older posts some sort of legacy.

Dub

PHP snippet show only published

This php snippet displays the unpublished nodes as-well, how do I make it so that it only shows the published nodes?

Is this what I have to add? If yes, where exactly?

Httpd title/ errors

I've just upgraded my site to Drupal 4.5 and I'm getting lots of httpd errors with errors involving a title/ link that doesn't exist anywhere in my site. For example:

22/11/2005 - 11:04 404 error: title/who not found.
22/11/2005 - 11:03 404 error: title/shall not found
22/11/2005 - 11:00 404 error: title/is not found.
22/11/2005 - 11:00 404 error: title/give not found.
22/11/2005 - 10:56 404 error: title/what follows not found.
22/11/2005 - 10:21 404 error: title/19 not found.

Pulling selective information from spacific catagories

Hi

I need to display certain bits of info on my home page, for example, I want a catagory where I enter a one line teaser for a competition and I want that line displayed in a certain place on my home page, I want to display the 5 latest news articles and the 5 latest blog entries displaying their title only. I would also like the welcome message on the come page to be from the "welcome" catagory so that I can update or change it any time.

help pulling node object elements into forward module

Hi.

I'm trying to hack in the node title and body into the email that is sent out with the forward module.

despite including:

$node = node_load($nid);

and

$body .= $node->title;
$body .= $node->body;

into the message nothing is showing up when the email is sent.

Can anyone let me know how to do this?

erik.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.5.x or older