PHP-Web-Stat Support Forum
https://www.php-web-statistik.de/cgi-bin/yabb/YaBB.pl
Board (English) >> English board >> Can the order of modules be changed?
https://www.php-web-statistik.de/cgi-bin/yabb/YaBB.pl?num=1645549085

Beitrag begonnen von John Motyer am 22.02.22 um 17:58:05

Titel: Can the order of modules be changed?
Beitrag von John Motyer am 22.02.22 um 17:58:05
Hello, folks.

How difficult would it be, and what file would need to be changed, for me to modify the code so that the order of the modules are changed?  I would like to reverse the User Data & Countries of Origin modules:

from:


to:


Is it just a matter of changing some code which displays the modules?

Thank you in advance, and have a great day.

Regards & be safe,

John


Titel: Re: Can the order of modules be changed?
Beitrag von Reimar am 02.03.22 um 08:37:24
Hi John,

this is possible, but afaik there are several places within different files that have to be adjusted. Let me check that and come back to you.

Best regards
Reimar

Titel: Re: Can the order of modules be changed?
Beitrag von Reimar am 09.03.22 um 15:42:13
Hi John,

as promised, I am back with more details.

The desired change can be made manually, but after every update it has to be done again. Currently we have not planned to implement this configuration within our admin center.

So if you want to change this settings, go ahead:

- Tab order: lines 795-800 of the "index.php"
- Additionally check the line 1409 of the "index.php"

Kind regards
Reimar

Titel: Re: Can the order of modules be changed?
Beitrag von John Motyer am 23.05.22 um 07:08:56
Hello Reimar,

My apologies, I did not know that you had a 2nd reply to this thread 2 months ago, which I discovered a few hours ago.

I rearranged the order of lines 796-800, and it is working perfectly, thank you, sir.  I did not have to touch line 1409.

And I acknowledge your comment about needing to modify those lines when new versions of phpWebStat come out.

Thank you for the instructions, and have yourself a great day.

Regards,
John

Titel: Re: Can the order of modules be changed?
Beitrag von Reimar am 24.05.22 um 10:01:55
Hi John,

thanks for your feedback. We are always happy if we can help.

Best wishes
Reimar

PHP-Web-Stat Support Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2012. Alle Rechte vorbehalten.