I have placed the list of files in the body of the node, so the title 'attachment' is out of place here (I use the attachment list to display list of relevant documents as an alternative to webfm_views which is not ready yet for D-6)
thanks very much

Comments

paulrooney’s picture

One approach would be to hide the THEAD for the "webfm-attach-list" TABLE via CSS. Doesn't actually get rid of the label, but does hide it.

attiks’s picture

You can also use the template override system, add function phptemplate_webfm_attachments($files) inside your template.php files and remove whatever you don't need.

lilon’s picture

Thanks very much to both. As I am a complete novice in php/Drupal (and cssing Drupal) I would very much appreciate if someone could lend a hand with accomplishing one of these two seemingly insurmountable tasks.

I've worked out (for the second option) that I need to create a theme folder under 'sites/all' and drop in there a copy of a php file called template.php. Then I have to copy the function which renders the html 'Attachment', paste it into the file with a php_template_ prefix to its name (possibly replacing the existing prefix???) and omit the part of the function that prints the word 'attachment ( print t('Attachment'); ???)

Is this how I do it???

Where do I find this function and how do I tell drupal to override it? do I have to drop anything else into the theme folder other than template.php ? (I read somewhere that you do)

Please help

thanks

attiks’s picture

@lilon: you have to change the template.php file of your current theme, if you're using garland you're better of installing a new theme inside /sites/all/themes and changing that template.php.

Have a look at http://drupal.org/node/176045 for more information

nhck’s picture

Status: Active » Closed (won't fix)