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?

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

195 user(s) are online (9 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 195


more...

Donat-O-Meter

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

Did you know ?

Did you know you can create your own Avatar for use in the forums for members who do not upload their own?

Random question

How to protect download sections, Fractal_WF/MyDownloads is unuseable, most of the Hosting providers doesnt provide PEAR compatiblity. Is there a way download link to looks like:
http://domain.com/modules/wfdownloads/getfile.php=15Id??&something=id12SD