Hi,
Just wondering how easy it would be to allow the addition of custom text and also the node type before each list of node titles, e.g. if you have a node type called news, make the marquee display News: in front of the respective node titles (perhaps in a different format, e.g. bold)? Also, it is not clear if the Title count setting is the total title count, or the title count per node type. If it is the total, how does the module divvy up the titles from multiple node types? It might be better to have a setting for number of title per node type. Also also (sorry, thinking as I type), is there any way to set a date or age for whether a node title appears or not?

Comments

jpcwebb’s picture

Well I changed the following in the code to show a node type label in front of each item, but it's not quite ideal

Line 168:

 sql = "SELECT n.title, n.nid, nt.name FROM {node} n LEFT JOIN {node_type} nt ON n.type=nt.type WHERE n.status = 1 and n.type IN ($scrolltext_nodetype) "
."ORDER BY n.created DESC LIMIT $scrolltext_count";	

inserted above Line 188:

     $block['content'] .= "<strong>$data->name</strong>:  ";