1
aharon
Module multiple instances
  • 2005/5/23 14:00

  • aharon

  • Not too shy to talk

  • Posts: 172

  • Since: 2004/9/17


Hi,

I am attempting to produce 4 or 5 different shoutboxes and headline modules on the same site.. (Sounds a bit mad, I know..)

Seems that simply copying the shoutbox and headline modules 4 or 5 times each - does not work... When installing, for example, shoutbox2, XOOPS tells me that shoutbox is already installed...
Any ideas which files I might want to change...?


Thanks!

Aharon

2
kaotik
Re: Module multiple instances
  • 2005/5/23 14:05

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


not all modules allow for duplication. Copying the files into a diferent directory isn't enough since more then likly both directories are using the same MySQL tables.
There are however modules that can be duplicatable; such as tinycontent and myalbum-p just to name 2.

3
aharon
Re: Module multiple instances
  • 2005/5/23 14:26

  • aharon

  • Not too shy to talk

  • Posts: 172

  • Since: 2004/9/17


Thanks!

I am however interested in the shoutbox and headlines... Any idea where are the MySQL commands, so I could rename the db table...? (Assuming if I get it to open new MySQL table, it will work...)

Aharon

4
ladon
Re: Module multiple instances
  • 2005/5/23 14:31

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


Haven't looked at the code of that module, but I'm guessing changing only the sql-file wont do. Anyway, you'll find the sql file that builds and populates your database in the module/sql folder. Just find & replace the table names.

5
aharon
Re: Module multiple instances
  • 2005/5/23 18:16

  • aharon

  • Not too shy to talk

  • Posts: 172

  • Since: 2004/9/17


Hummm.. Good idea, thanks!


In the absence of visible sql folder/files within shoutbox and headlines modules -
has anyone got a clue where the db commands reside...?

Thanks!

Aharon

Login

Who's Online

347 user(s) are online (284 user(s) are browsing Support Forums)


Members: 0


Guests: 347


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