11
Herko
Re: getting rids of modules link ?
  • 2005/3/28 14:54

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


This will work for some modules, as it relies on the same principle as the simpliefied URL's hack tjnemez refers to. The problem is that some modules have the path hardcoded in the code and that makes it *very* difficult to change. So for XOOPS 2.0.x, this is very difficult, alas.

Herko

12
davidl2
Re: getting rids of modules link ?
  • 2005/3/28 15:11

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


At least i'm thinking in a right manner :)

I use a similar idea to this for a site idea i've done with a multiple entry page - depending on targetted content ... this is a little idea i'll go into more detail when i've got it all sorted :)

13
davidthomas1
Re: getting rids of modules link ?

You could do a combined modification.

1) First, modify the module code.

Search and replace the hard-coded module path and name in the module files with the desired module path you want.

You can use the trial edition of TextPipe to search and replace across multiple files, there may be other programs too.

2) Second, upload the module files to the modules/yourmodule directory and install it from XOOPS.

3) Third, move the files to the new location specified in the search and replace routine.

that should work.

If you can install the module with the modified file paths in System>Modules it should work.

you could also use the redirect script mentioned earlier but that would only work where the module does not have the path hard-coded.

If you modify the hard-coded paths first in the module files, you may be home free.

14
tjnemez
Re: getting rids of modules link ?
  • 2005/3/28 15:50

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


i think the simplified url hack is the best solution as, it (correct me if i am wrong)does not require any editing of core or modules. so updates, core or module, are not an issue at this point.

15
new_bie
Re: getting rids of modules link ?
  • 2005/3/28 18:16

  • new_bie

  • Just popping in

  • Posts: 92

  • Since: 2005/1/29


I´ve tried to change in the title in the index.php where it says:/modules to content but it didn´t work

Is there any module to hack to do this? can someone release the code?

Thanks!
Liz

16
tjnemez
Re: getting rids of modules link ?
  • 2005/3/28 18:24

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


Quote:
i think the simplified url hack is the best solution as, it (correct me if i am wrong)does not require any editing of core or modules.


check my site to see how simplified url hack works www.dcdezines.ca

the modules that i had to bypass were wfdownloads, xcgallery, and xooperstore.

17
new_bie
Re: getting rids of modules link ?
  • 2005/3/28 18:36

  • new_bie

  • Just popping in

  • Posts: 92

  • Since: 2005/1/29


this guy has already done but I don't know if he wants to share how he did it:
http://www.miguanajuato.com

Liz

18
tjnemez
Re: getting rids of modules link ?
  • 2005/3/28 18:49

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


contact him, but consider the previous posts.

for anyone who is interested in "simplified urls" you can get the hack here:http://xoops.suin.jp/mydownloads/singlefile.cid/7/lid/36.cgi

19
tripmon
Re: getting rids of modules link ?
  • 2005/3/28 21:05

  • tripmon

  • Module Developer

  • Posts: 462

  • Since: 2004/2/28


Will this (shortURLs) work under WIMP / IIS as the .htaccess file seems to call the rewrite engine?

20
new_bie
Re: getting rids of modules link ?
  • 2005/3/29 8:50

  • new_bie

  • Just popping in

  • Posts: 92

  • Since: 2005/1/29


the development guys may have an answer to resolve this..
just wondering.

Login

Who's Online

220 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 220


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits