1
showcase17
No dates in recent news block
  • 2005/3/23 12:37

  • showcase17

  • Not too shy to talk

  • Posts: 190

  • Since: 2005/1/6 0


I would like to turn of the dates in the recent news block. Someone can tell me how to do this?

2
rowdie
Re: No dates in recent news block
  • 2005/3/23 13:39

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


I'm assuming you are using News 1.3. If it's a different version, ignore the following comments

The only way I can see to turn off the dates is by editing the news_block_top.html template.

At the bottom of the template find:
<{elseif $block.sort=='published'}>
    [<{
$news.date}>]
<{else}>


Change that to this:
<{elseif $block.sort=='published'}>
    
<{else}>


Then update the template.

3
showcase17
Re: No dates in recent news block
  • 2005/3/23 15:47

  • showcase17

  • Not too shy to talk

  • Posts: 190

  • Since: 2005/1/6 0


THX Rowdie
You've got it almost right! It's not in the news_block_top.html but it's in the news_block_new.html

But found it thx to you!
(maybe I'm using a diff. version though...)

4
showcase17
Re: No dates in recent news block
  • 2005/3/23 15:57

  • showcase17

  • Not too shy to talk

  • Posts: 190

  • Since: 2005/1/6 0



I'm wrong!!! Forgive me!!!!

5
rowdie
Re: No dates in recent news block
  • 2005/3/25 17:12

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Um, so did you manage to get it to work?

6
showcase17
Re: No dates in recent news block
  • 2005/3/27 10:32

  • showcase17

  • Not too shy to talk

  • Posts: 190

  • Since: 2005/1/6 0


Yep, I worked it out!
Forgot to clone my new template, so couldn't edit. But worked out fine now!

Login

Who's Online

170 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 170


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