Having problems installing Drupal? See the Installation Guide for more information.

Using the body of a node in a block

I would like to import the body field of a node (predefined and constant, say always node ID #2) as the body of a sidebar block. I assume this is possible using PHP.

If possible, I'd like to do it though Drupal's OO design, without directly querying the database myself. Do I need to instanciate a node and load the data?

Any help would be appreciated. Thanks!

¿bug in common.inc? Drupal-4.3.1

There's a line in the common.inc file that breaks my syndication. Exactly this:

[? header("Content-Type: text/html; charset=iso-8859-1"); ?]

(Well, it usually uses utf-8 instead iso-8859-1 so the line after a clean installation should be:

[? header("Content-Type: text/html; charset=utf-8"); ?]

but this is irrelevant)

The matter with sindycation is that this last sends another header later than common.inc:

[? Header("Content-type: text/xml\r\nContent-Length: " .
strlen($payload)); ?]

how to: navavigation

Hi
I was wondering how it is possible to create a navigation system like drupal's home page has.
like:
Home > News
or Home > Forum > News

I installed the latest version but there is no navigation except administrators part.
Thank in advance

Show table data as HTML table

Is there a way to show the results of a table query in an HTML table? I'm wondering if there is a module for this, and also perhaps a way to edit table contents?

thanks,

HTML Closures and signature size

In 4.3.1 the signature field is 255 chars.
In my production website the users enter much more than 255 chars for the signature.
The sumited signature in the profile should be shortened by that size before checking for
HTML closures. If this is not done, the signature will pass the check , but the end result may be a wrongly formateed HTML that destroys the whole page where it is shown.
A s a workaround I changed type of the signature field to be text (I use Mysql)
How should I report this ?

anonymous node(story) submission ?

I imagine this is a simple/common configuration, but I'm having trouble figuring out how to allow anyone (ie: anonymous users) to be able to submit stories without giving them publishing access. I'm looking for a /. model, where anyone can submit story ideas, but only moderators can publish anything.

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal