Another feature I'd like is the ability to display nodes as teasers instead of the full node. Something like this would be perfect: custompage_node_tile($key, $type = '', $teaser = FALSE);

CommentFileSizeAuthor
#2 custompage_703410_2.patch1.12 KBAnonymous (not verified)

Comments

irakli’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Needs review
StatusFileSize
new1.12 KB

Thanks for that!

I've created a patch that slightly changes it though: I've added another parameter for setting whether or not you want the node's title displayed (used to set the $page parameter in node_view()). This means users can have full nodes on a page by themselves (i.e. no title) or teasers with titles that link to the full node.
I also updated the comments to reflect the new parameters.