1
aharon
renaming modules
  • 2005/6/16 12:27

  • aharon

  • Not too shy to talk

  • Posts: 172

  • Since: 2004/9/17


Hi,

I thought to rename a module, all I'd need is:
* to change its' directory name (e.g. wfdownloads to balls)
and
* change a line in the xoops_version.php file to tell it the directory name was changed.
(e.g. $modversion['dirname'] = "balls";)

Getting white screens after doing such changes - means I am missing something..

Any ideas?

Thanks!


Aharon

2
McNaz
Re: renaming modules
  • 2005/6/16 12:37

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Hi aharon.

This generally a bad idea as you cannot guarantee that a module author has not referenced the expected module name anywhere in code, which might happen when linking in files from say the module/images directory for example.

Your best bet is to use a file search facility and look at all files under that module for references to wfdownloads.

3
aharon
Re: renaming modules
  • 2005/6/16 12:41

  • aharon

  • Not too shy to talk

  • Posts: 172

  • Since: 2004/9/17


Oh!

A bit of archaeology...


Thanks!

Aharon

4
davidl2
Re: renaming modules
  • 2005/6/16 12:45

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


This is possible to do - for an example, this very site

5
McNaz
Re: renaming modules
  • 2005/6/16 13:49

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Quote:
Oh!

A bit of archaeology...


Lol. That cracked me up!!! I couldn't have said it better myself

6
davidl2
Re: renaming modules
  • 2005/6/16 14:02

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Dont forget to enable debug as it may help find the cause of the blank screens.

Login

Who's Online

189 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 189


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