1
Luminosity
how can I change the name of the directory of a given module ?
  • 2004/11/9 5:52

  • Luminosity

  • Just popping in

  • Posts: 37

  • Since: 2004/5/3 1


One of the modules I am using is xcGal. I would like to know how to change the directory of xcGal.

Right now it is:

/modules/xcgal/

I would like to be able to do this:

/modules/gallery/

2
limecity
Re:how can I change the name of the directory of a given module ?
  • 2004/11/9 6:11

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Its possible..
but u will need to go through the trouble of renaming the codings in each and every files in that particular module.

It won't work by changing the folder name itself.

3
philou
Re:how can I change the name of the directory of a given module ?
  • 2004/11/9 6:21

  • philou

  • Quite a regular

  • Posts: 384

  • Since: 2002/5/6 8


you should also keep in mind this change if in some days you upload a module with the same name

4
Luminosity
Re:how can I change the name of the directory of a given module ?
  • 2004/11/9 6:37

  • Luminosity

  • Just popping in

  • Posts: 37

  • Since: 2004/5/3 1


I'm aware that I have to change code, but tell me, which code??

5
limecity
Re:how can I change the name of the directory of a given module ?
  • 2004/11/9 7:24

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


think from logic wise...

open each and every file there is in the module and find the code which is pointed to modules/xcgal/ and change it to point to modules/gallery/ or any name that u wish.

isn't that just common sense?

6
philou
Re:how can I change the name of the directory of a given module ?
  • 2004/11/9 8:10

  • philou

  • Quite a regular

  • Posts: 384

  • Since: 2002/5/6 8


you must also see the tables used by your module, the name of the functions (if this is a clone of another module already installed..)
have a look also in the xoops_version.php

$modversion [“dirname”] = “gallery”; or somthing else

Login

Who's Online

393 user(s) are online (316 user(s) are browsing Support Forums)


Members: 0


Guests: 393


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