1
cmagana
Rename modules folder, is it possible?
  • 2003/11/28 4:31

  • cmagana

  • Not too shy to talk

  • Posts: 131

  • Since: 2003/11/8


Hello,

Can I rename the folder modules to other name?? is it possible, if it's possible what parameters will I change??

2
robekras
Re: Rename modules folder, is it possible?
  • 2003/11/28 7:02

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


Ooops...
did understand your question in wrong way.

Stuff deleted....


You want to change the name of xoops/html/modules to something
like xoops/html/MyNewModuleDirName ???

3
blueangel
Re: Rename modules folder, is it possible?
  • 2003/11/28 7:24

  • blueangel

  • Module Developer

  • Posts: 132

  • Since: 2002/2/20


if the module has been developed following the standards you have only to modify the parameter

$modversion['dirname'] = "new_directory_name"


in file xoops_version.php

it is usually all

but if the modules does not work search in php files for:

XoopsModule::getByDirname("folder")


and modify it in

XoopsModule::getByDirname("new_folder")



4
hightyde
Re: Rename modules folder, is it possible?
  • 2003/11/28 7:53

  • hightyde

  • Just popping in

  • Posts: 86

  • Since: 2003/7/11


Because some of the URL may be hardcoded in the files, you should also do a search of all the file in that particular module and replace it with the new URL.

For example, in the "old_module_name folder"... search for the phrase "modules/old_module_name", and replace it with the phrase "modules/new_module_name".

5
cmagana
Re: Rename modules folder, is it possible?
  • 2003/11/28 19:18

  • cmagana

  • Not too shy to talk

  • Posts: 131

  • Since: 2003/11/8


Thanks, I'm trying its

Login

Who's Online

217 user(s) are online (87 user(s) are browsing Support Forums)


Members: 0


Guests: 217


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