Hi Merc or anyone else that can help?,

I note you can change how the body format is saved but regardless of what this is set at, the display of the body is always plain text. As I want my users to post blog-style posts I would like them to have formatting, links etc when the full-post is displayed? Is there a setting I'm missing?

Comments

mercmobily’s picture

Status: Active » Fixed

Hi,

There are two issues at play here.
THere' the "format":

Admin -> SIte configuration -> Input formats

Where you decide how things are filtered out. NOTE!!! YOU _need_ to upgrade to Drupal 5.7 (that is, the latest stable drigg-distr.tgz) because otherwise... this section of the site's configuration won't work! I discovered this painfully yesterday... there was a problem with 5.6 and nobody noticed till a little later

Another issue is the CSS. The current CSS for drigg is very unforgiving in terms of formatting. Make sure that tags are not simply discarded. I know very, very little about CSS. But, I remember getting stung with this one as well.

I hope this helps!

Merc,

mercmobily’s picture

Status: Fixed » Closed (fixed)
ckariuki’s picture

I tried all the suggestions none seem to work. It seems this issue is closed, does anyone have a solution other than what us stated previously?

nalla’s picture

change "default filter" in drigg module to full html
allow full html for input content type (configure it to allow tags like img etc)
use drupal 5.7

try if that works

plutado’s picture

I solved this problem by adding a cck text field. I gave this field the same label as the default drigg body field label, which is "Story's Description". When creating the new cck field, I assigned it 18 rows, and selected "filtered text" in the Text Preprocessing section. This makes the new cck field a decent sized textarea, and allows for Full HTML input formats.

In the drigg.module you'll find around line 3097:

$form['body'] = array(

In the next line, change:

'#type' => 'textarea', (line 3098)

to:

'#type' => 'hidden',

Altering this code hides the problematic body field from being seen when creating or editing a drigg node. That worked for me.