Remove Title & Submitted Information

Kathryn531 - March 21, 2008 - 16:47
Project:Node As Block
Version:5.x-1.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I have created a node as a block, which links to another article. I need to remove the title and the "submitted by" information. In the Read Me file of the module, I found instructions to change these settings by altering the theme('nodeasblock', $node) function.

The problem is that I'm not an expert in PHP, and I don't know what to remove or change in the code to make the information disappear. I need step by step instructions of what to edit/discard in the nodeasablock.module.

Any help would be greatly appreciated!

Thanks,
Kathryn

#1

dropcube - July 10, 2008 - 02:56
Category:task» feature request
Priority:critical» normal

#2

dropcube - July 10, 2008 - 02:58
Category:feature request» support request

categorizing it accordingly...

#3

WiredEscape - January 27, 2009 - 19:52

You could use the themes CSS to "hide" the title and the "submitted by" information. That way you don't need to mess with "code".

Use Firebug to zero in on the correct class and then use 'display: none;'.

.block-nodeasblock .title { /* Hide 'Node As Block' title */
  display: none;
  }

.node .submitted { /* Hide "submitted by" information */
  display: none;
  }

#4

dropcube - August 2, 2009 - 13:10
Status:active» fixed

#5

System Message - August 16, 2009 - 13:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.