1
antifmradio
Same Module in use TWICE with different names?

Got a good question. probably been answered here before but im not sure what query to SEARCH for so.

I have a module i can use for TWO different things in my site
I wanted to know
if i want to use the same module for two things
once called ( WFLINKS )for placing company links and information

Can i also use it for say
RECIPES
but just rename the module to RECIPES and then upload it with its new name

once i install it. the DB querrits wouldnt conflict with the WFLINKS SQL tables would it?

2
burfodus
Re: Same Module in use TWICE with different names?
  • 2009/3/28 4:14

  • burfodus

  • Just popping in

  • Posts: 94

  • Since: 2008/9/2 1


id say it would not work, it uses the db, and without changing the db tables they will both install on the same ones, im not an expert tho.

i rekon to do this you would have to change the sql file, entries in xoopsversion to have new table names, and then switch every reference to this table name in the module.

prob not that hard to do, im pretty new to this too tho, so best find out for sure, if you have a test site, give it a go, but i doubt it will work.

sb..

XOOPS Version - XOOPS 2.3.2
PHP Version - 5.2.6
MySQL Version - 5.0.67-community
Server API Version - apache2handler
OS Version - WINNT

3
Mamba
Re: Same Module in use TWICE with different names?
  • 2009/3/28 6:39

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Look for topics related to Module cloning, e.g. this one
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

384 user(s) are online (274 user(s) are browsing Support Forums)


Members: 0


Guests: 384


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