2
Quote:
BrianEdwards wrote:
How do I make a centre block bottom to show the last 5 to 10 news items with thier scoop.
I'm not sure - I'll have to take a look, but hopefully someone else will chip in
Quote:
I can tell you exactly
It is the News modules "Recent News" block with the title changed by editing it in blocks admin.
At the time of writing it is set to "Order by published date" and to display the last 8 articles (I change this for display purposes sometimes).
"Length of the title is set to 42 characters and the "Enable Spotlight Feature" is set to "Yes".
"What do you want to publish in the spotlight?" is set to "Recent news (don't use the list below)".
"Select an article:" is set to "First item"
"Display" is set to "Classical"
"Select topic(s) to use" has all the categories selected.
The colour of the articles title is hard-coded into the template (IIRC it is coded to FF6600). The template is in news/templates/blocks and it is the news_block_top.html file. Line 914 is what you want.
Lines 906 to 914 in my template are:
<{if $block.spotlight}>
<tr>
<td><table>
<tr>
<td colspan='2'>
<table border='0'>
<tr><td><img src='<{$block.spotlight.topic_image}>' border='0' alt=''>td><td align='left'><font color="#FFFFFF"><b><{$block.spotlight.topic_description}>b>font>td>tr>
table>
<font color="#FF9900"><b><{$block.spotlight.title}>b>font> <{$block.spotlight.author}>
Hope this helps