1
cordero
Marquee and News - Display different topics
  • 2009/9/8 11:55

  • cordero

  • Just popping in

  • Posts: 5

  • Since: 2009/9/8 1


Hi all, I am a newbie in this forum and I'm working on a XOOPS Site for my University Faculty. I hope this is the right place where to write.

I found Marquee to be useful to substitute a self-developed script, which is in use in our production site. I found the way to publish the content titles from News module (which was trivial). I was wondering if there may be a way to publish a Marquee object pointing to the articles of a specific Topic, instead than the whole module. Is there anyone who has tried that?

Thank you in advance.

2
ghia
Re: Marquee and News - Display different topics
  • 2009/9/8 14:24

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


cordero, welome to the XOOPS forum!

It is possible.
Check the script for the place where the titles are looked up in the database. Depending on the way it is done, with a query or object, add a where clause or an criteria object to select only the wanted topic id's.

3
cordero
Re: Marquee and News - Display different topics
  • 2009/9/22 8:54

  • cordero

  • Just popping in

  • Posts: 5

  • Since: 2009/9/8 1


I've done the "hacking" :)

Now in my version of the Marquee module you can choose by Topic id in the Admin module form what topic to display in any new Marquee block.

If anyone is interested I can post the code, or directly post the new module version anywhere is allowed.


4
Mamba
Re: Marquee and News - Display different topics
  • 2009/9/22 9:02

  • Mamba

  • Moderator

  • Posts: 11245

  • Since: 2004/4/23


Of course, we're interested!

5
cordero
Re: Marquee and News - Display different topics
  • 2009/9/22 12:57

  • cordero

  • Just popping in

  • Posts: 5

  • Since: 2009/9/8 1


The editing list is long, because I had to add a column in the Marquee tables in the DB

Where is the best place to post the "hacked" version of the module? Is it possible to put it directly in the Module Download sections of XOOPS site?

6
gtop00
Re: Marquee and News - Display different topics
  • 2009/9/22 16:10

  • gtop00

  • Friend of XOOPS

  • Posts: 498

  • Since: 2004/11/13


I guess yes. See here: Module repository

Login

Username:
Password:

Lost Password? Register now!

Who's Online

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


Members: 0


Guests: 62


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