1
webmystar
xoRewriteModule and Xoops-2.2.x
  • 2008/12/4 17:10

  • webmystar

  • Friend of XOOPS

  • Posts: 415

  • Since: 2008/6/23


here is the howto to the hack
http://www.howtodude.net/howto/view.article.php/203

i use XOOPS 2.2 version and i dont have those lines in the header.php

$xoopsLogger->stopTime'XOOPS output init' ); $xoopsLogger->startTime'Module display' );


where can i add the lines

//xoRewritemodule $xoopsTpl =& $xoTheme->template; $xoopsTpl->load_filter('output', 'xoRewriteModule');


?

2
trabis
Re: xoRewriteModule and Xoops-2.2.x
  • 2008/12/4 19:19

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


In 2.2?
In 2.2 you donĀ“t have $xoTheme either!

I would sugest a small change in the code:
//xoRewritemodule 
$xoopsTpl =& $GLOBALS['xTheme']->tplEngine;
$xoopsTpl->load_filter('output''xoRewriteModule');


And place it in header.php just before the ?> tag.

PS: Not tested.

3
webmystar
Re: xoRewriteModule and Xoops-2.2.x
  • 2008/12/5 10:31

  • webmystar

  • Friend of XOOPS

  • Posts: 415

  • Since: 2008/6/23


great tip, thank you. the url structure is correct changing, but now i have the next problem ...

the language files not parsing and now display the var data in the modules

example: _MD_YOGURT_MYPROFILE

When i change the module structure to /modules/yogurt/ everything works fine.

any ideas?


4
webmystar
Re: xoRewriteModule and Xoops-2.2.x
  • 2008/12/9 12:22

  • webmystar

  • Friend of XOOPS

  • Posts: 415

  • Since: 2008/6/23


no ideas?

Login

Who's Online

234 user(s) are online (163 user(s) are browsing Support Forums)


Members: 0


Guests: 234


more...

Donat-O-Meter

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

Latest GitHub Commits