SmartFAQ is developed by The SmartFactory (https://www.smartfactory.ca), a division of InBox Solutions (https://www.inboxsolutions.net)

How do I display headlines without the published date in the summary of the news section?<br /><br />I have searched the site manually and can't find an answer so if this is somewhere I've not found, I'm sorry.
Depend on witch block You are using. This is an example on the Random news block. Fist step is to create a copy of the default templates. Select the Admin menu. Select System Admin Select Templates Clone the Default templates and give it any name you want. Select System Admin Select Preferences Select General setting Change the “Default template set” to the new set you just created. Now lets edit. Select System Admin Select Templates List Templates for the News module (under You new set of templates) Find news_block_randomnews.html and click View
<table>
<
tr>
<
td>
<
ul>
<{foreach 
item=news from=$block.stories}>
<
li>
 <{if 
$block.sort=='counter'}>
 [<{
$news.hits}>]
<{elseif 
$block.sort=='published'}>
 [<{
$news.date}>]
<{else}>
[<{
$news.rating}>]
<{/if}>
<{
$news.topic_title}> - <a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>" <{$news.infotips}>><{$news.title}></a> <br /><{$news.teaser}></li>
<{/foreach}
 </
ul>
</
td>
</
tr>
</
table>
Change code to
<table>
<
tr>
<
td>
<
ul>
<{foreach 
item=news from=$block.stories}>
<
li>
<{
$news.topic_title}> - <a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>" <{$news.infotips}>><{$news.title}></a> <br /><{$news.teaser}></li>
<{/foreach}
 </
ul>
</
td>
</
tr>
</
table>
End by submit. That’s it.


The comments are owned by the author. We aren't responsible for their content.


Login

Who's Online

249 user(s) are online (2 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 249


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Did you know ?

You can use Google Analytics with your website!

Random question

Will all modules be compatible and safe with my site?