SmartFAQ is developed by The SmartFactory (http://www.smartfactory.ca), a division of InBox Solutions (http://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.
  Requested by Easterly and Answered by Anderssk on 2007/1/20 15:37:16     5290  reads 
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

Username:
Password:

Lost Password? Register now!

Who's Online

56 user(s) are online (1 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 56


more...

Donat-O-Meter

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

Did you know ?

Fantastico installer can install an older version of xoops?

Random question

How do I modify content?