Posted by Kathryn531 on March 21, 2008 at 4:47pm
Jump to:
| Project: | Node As Block |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
Comments
#1
#2
categorizing it accordingly...
#3
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
#5
Automatically closed -- issue fixed for 2 weeks with no activity.