General > General > nukebiz news block > Community Forums > Phoenix Netology
Forum Index > General

nukebiz news block Reply to topic


I am trying to make a block similar to the news block here, is there any chance you could share the code? or point me in the right direction...i'm starting with the last 5 posts block but can't get some things to add to it...did you do it a different way? thanks! Smile

Please enter your server specs in your user profile! 😢


It's not much of a block and I haven't reviewed it for a long time.
nukebiz.com/Downloads/...id=45.html

Donations & Audit for DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


thanks! Smile

works great, how can I add the username who posted the article?

Please enter your server specs in your user profile! 😢


Change line 36 to sdomething like thiks $content .= "<div class="legend2"><a href="".getlink("News&catid=".$row['catid']).""><font class="storycat">".$row['cattitle']."</font></a>: <a href="".getlink("News&file=article&sid=".$row['sid'])."">".$row['title']."</a></div><div align="justify"><span><b>$datetime : </b></span>$hometxt</div><b>Posted by $row[informant]</b><br /><br />";

Donations & Audit for DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


cool thanks!

Please enter your server specs in your user profile! 😢

All times are Australia/Adelaide


Jump to: