11
riceking
Re: Random links
  • 2007/10/13 1:39

  • riceking

  • Just popping in

  • Posts: 16

  • Since: 2007/9/21


At first, I think there is not the existing block which meets your need, for your need is someting special.

The only way is to hack the Mylinks module.
1)To get random link, you could use the MySQL sql.
for example, to get 5 random link from table 'linktable' in database, the sql could be:
select * from linktable order by rand() limit 0,5;

2)To get image with text, just modify block template. And it's very easy to be done if you konw about HTML.

Good luck!



12
riceking
www.3guo8.com, My first site designed by xoops
  • 2007/9/21 14:26

  • riceking

  • Just popping in

  • Posts: 16

  • Since: 2007/9/21


I'm from china, and the www.3guo8.com(三国吧), which is about Romance of Three Kingdoms(三国演义), is my first site designed by xoops.
Although the site is not perfect, I decided to publish it for the sake of the limited time.
I am very pleasent to get your comments, Thank you!
Resized Image




TopTop
« 1 (2)



Login

Username:
Password:

Lost Password? Register now!

Who's Online

66 user(s) are online (30 user(s) are browsing Support Forums)


Members: 0


Guests: 66


more...

Donat-O-Meter

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

Latest GitHub Commits