Likely a simple answer to this question... I hope. :)


I am a page 1 newbie to PHP, so I need help with this little problem I am having with my blog. :slight_smile:
Admin Edit: Added PHP code tags Please review


This question is fairly specific to the blog application you are using. My guess is that t() is only a string translation function, so replacing t(“Recommended”) with “” will do the trick. But again, that’s not simple PHP.


Thankyou for your help. I tried that, thought it would work, but the banner didn’t show up. Below is what I entered…

[php] case ‘recommended_nodes’:
$result = db_query_range(db_rewrite_sql(‘SELECT r.nid, n.title FROM {recommended_nodes_node} r LEFT JOIN {node} n ON n.nid = r.nid ORDER BY r.score DESC’), 0, variable_get(‘recommended_nodes_count’, ‘10’));
$list = array();
while ($node = db_fetch_object($result)) {
$list[] = l($node->title, ‘node/’. $node->nid);
return array(
‘content’ => theme(‘item_list’, $list),
Admin Edit: Changed the QUOTE tag to PHP tag for readability. Please read for posting guidelines


I got it! :D

Merci beaucoup Bane!