1
ah_boy
teach me how pls
  • 2003/12/14 11:52

  • ah_boy

  • Just popping in

  • Posts: 6

  • Since: 2003/10/14


I look at some blocks on other sites

which the titles inside the blocks will rotating up and down

btw,anyone willing to teach me what script should be use?

thank

2
CBlue
Re: teach me how pls

Do you mean scrolling blocks?

3
tom
Re: teach me how pls
  • 2003/12/14 13:31

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


ahhh now you see this is where that big old search box comes in handy, there are a few modules you could look at:

There used to be one by inconnnueteam.net but you would need to search.

Theres Lykos Blocks Lykos Blocks 1.2

Blockies Brandy Coke

In the blockies modules there is also a stats block which links direct back into phplogger

Hope this is of some help.

4
CBlue
Re: teach me how pls

I have a copy of the inc blocks module myself and use it on my site. It scrolls news, links, stats and downloads and it also provides a referrers block.

5
tom
Re: teach me how pls
  • 2003/12/14 18:26

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


When you say inc blocks I presume you mean the InconnueTeams version?

Maybe worth re-packing it as the inconnueteam site is still down.

6
CBlue
Re: teach me how pls

I have the rar zip file of it and even have it available for download on my test site here:

http://www.testsite.crazy4realitytv.com/modules/mydownloads/viewcat.php?cid=2

7
hsalazar
Re: teach me how pls
  • 2003/12/15 1:55

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


ah_boy:

As far as I understand, you want to know how to scroll the content inside a block. Here's a brief explanation using as a test subject the recent news block. As you've figured by now, the display of recent news is handled by the template news_block_new.html, so what you need to do is to follow this easy procedure.

1) Open Admin > Templates

2) Look for your active template set and ask for the list of templates.

3) Once you fin the template news_block_new.html, click on its Edit link.

4) You'll see this code:
<ul>
<{foreach 
item=news from=$block.stories}>
<
li><a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>"><{$news.title}></a> (<{$news.date}>)</li>
<{/foreach}>
</
ul>


4) Add at the beginning the following code:
<marquee behavior="scroll" direction="up" width="100%" height="80" scrollamount="1" scrolldelay="60" onmouseover="this.stop()" onmouseout="this.start()">


5) Add at the end the following code:
</marquee>


Please take into account this is a MSIE exclusive tag, so it won't show on Netscape.

This is another place you can look for additional attributes:
Marquees For IE And MSNTV

Cheers.

8
ah_boy
Re: teach me how pls
  • 2003/12/16 17:02

  • ah_boy

  • Just popping in

  • Posts: 6

  • Since: 2003/10/14


tq for the assistance

but i face problem to edit the template since in the template set manager only can view and dl the template file in html format

so after i dl and edit it,then i upload it to the block under news folder, but even it say that the file is replaced, but it do nothing change when i view the template in template set manager.

may i know how to edit or save it ?

tq again


9
studioC
Re: teach me how pls
  • 2003/12/16 17:09

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


hello ah_boy...

make a clone [copy] of the default templateset in admin -> templatemanager, name it as you like it an then you#re allowed to make changes to this templateset.

but,.. don#t forget to activate the "new" templateset in admin -> preferences as well to see your changes...



michael

Login

Who's Online

165 user(s) are online (76 user(s) are browsing Support Forums)


Members: 0


Guests: 165


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!

Latest GitHub Commits