1
dvpholland
New 1.44, clearing posting info
  • 2008/6/30 13:30

  • dvpholland

  • Just popping in

  • Posts: 5

  • Since: 2008/6/26


I use the news 1.44 module a lot.
On the posted newspages there is information about the posting (poster, date of posting and how many times the page is read). I can change the settings so that the poster is not mentioned on the page. Time when posted and how many have read the article can not be changed. Can anyone tell me how it is possible to to make it so that al the posting information does not come on the posted pages?

Thanks for the help

2
trabis
Re: New 1.44, clearing posting info
  • 2008/7/1 0:13

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


You have to change in the template(easy way).

go to module/news/templates/news_item.html and edit it as you like.

here is an example:
<table cellpadding="0" cellspacing="0" class="item">
<
tr>
    <
td>
        <
table cellpadding="0" cellspacing="0" width="98%">
        <
tr>
            <
td class="itemHead"><span class="itemTitle"><{$story.title}>span>td>
        tr>
        <
tr>
            <
td><div class="itemBody"><{$story.imglink}><class="itemText"><{$story.text}>p>div>td>
        tr>
        <
tr>
            <
td class="itemFoot"><span class="itemAdminLink"><{$story.adminlink}>span><{if $rates}><b><{$lang_ratingc}>b> <{$story.rating}> (<{$story.votes}>) - <a href="<{$xoops_url}>/modules/news/ratenews.php?storyid=<{$story.id}>" rel="nofollow"><{$lang_ratethisnews}>a> - <{/if}><span class="itemPermaLink"><{$story.morelink}>span>td>
        tr>
        table>
    td>
tr>
table>

Login

Who's Online

261 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 261


more...

Donat-O-Meter

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

Latest GitHub Commits