1
meme
last post in newbb blocks
  • 2004/1/18 15:21

  • meme

  • Quite a regular

  • Posts: 271

  • Since: 2002/12/10


hi all

i add this template for /newbb/templates/blocks

template name newbb_bock_scrol.html

code



<{if $block.full_view == true}>


<{foreach item=topic from=$block.topics}>


<{$topic.title}> .:. 


<{/foreach}>
<{/if}>



i do that for protect my top page from waste space

this template will scroling the new topic in small block

but there are one bug

this block will add 1 for every link
i need one only to scroling all the new topics in this

any help ?

2
wammes
Re: last post in newbb blocks
  • 2004/1/18 16:40

  • wammes

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/1/3 1


Dunno if it works,
but I would try:






<{if $block.full_view == true}>



<{foreach item=topic from=$block.topics}>


<{/foreach}>

<{$topic.title}> .:. 

<{/if}>



3
meme
Re: last post in newbb blocks
  • 2004/1/18 19:25

  • meme

  • Quite a regular

  • Posts: 271

  • Since: 2002/12/10


thanks for try but still not fix

now its scroll but u have to wait about 20 secs to see the new links then stop after the last post appear


any help

4
kahumbu
Re: last post in newbb blocks
  • 2004/1/18 19:53

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


You might need to bring the outside the foreach loop because you will add one for each link.

5
meme
Re: last post in newbb blocks
  • 2004/1/18 23:20

  • meme

  • Quite a regular

  • Posts: 271

  • Since: 2002/12/10


still not work like what i need

its not appear correct

i need it look like a bar and the new posts scrolling from the begin to the end




Login

Who's Online

313 user(s) are online (62 user(s) are browsing Support Forums)


Members: 0


Guests: 313


more...

Donat-O-Meter

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

Latest GitHub Commits