xoops forums

timgno

Module Developer
Posted on: 2016/5/30 8:14
timgno
timgno (Show more)
Module Developer
Posts: 1504
Since: 2007/6/21
#1

Xoops 2.5.8 and high

I find the problems in the frontend with xoops.js, I don't need, and if I go to delete it from the class/theme.php files, still exists somewhere else.

Test PageSpeed of Google.

I tried to do research, but I can not find the file that loads
$xoTheme->addScript('include/xoops.js');

or
$this->addScript('include/xoops.js');


minified in:
$xoTheme->addScript('include/xoops.min.js');


In XOOPS 2.6.0 still exists, you should not think to change it in jquery?

kolivansemen

Just popping in
Posted on: 2016/5/30 8:36
kolivansemen
kolivansemen (Show more)
Just popping in
Posts: 1
Since: 2016/5/30
#2

Re: Xoops 2.5.8 and high

Interesting question...

timgno

Module Developer
Posted on: 2016/5/30 12:23
timgno
timgno (Show more)
Module Developer
Posts: 1504
Since: 2007/6/21
#3

Re: Xoops 2.5.8 and high

This also:

class/textsanitizer/image/image.js

timgno

Module Developer
Posted on: 2016/5/30 17:52
timgno
timgno (Show more)
Module Developer
Posts: 1504
Since: 2007/6/21
#4

Re: Xoops 2.5.8 and high

Also it marks this for compression of cached images.

Php Image Cache

Apparently the gzip compression xoops is not enough for the online images.

I don't know tell me your experience.

timgno

Module Developer
Posted on: 2016/5/31 11:09
timgno
timgno (Show more)
Module Developer
Posts: 1504
Since: 2007/6/21
#5

Re: Xoops 2.5.8 and high

I believe that there will also be redone stamp constants in this way, or similar to this:

define("_DATESTRING_N","j/n/Y");
define("_DATESTRING_M","j/m/Y");
define("_DATETIMESTRING_N","j/n/Y G:i:s");
define("_DATETIMESTRING_M","j/m/Y G:i:s");
define("_MEDIUMDATETIMESTRING_N","j/n/Y G:i");
define("_MEDIUMDATETIMESTRING_M","j/m/Y G:i");
or
define("_DATESTRING","j/m/Y");
define("_SHORTDATESTRING","j/n/Y");


Whenever there is a xoops update, I have to re-send the custom global.php language