XAMPP control panel modification

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP control panel modification

Postby mhartma » 25. September 2019 21:08

I have downloaded XAMPP 7.3.9 which has control panel 3.2.4. I would like to change some things on the control panel. Such as Mercury and Tomcat. I want to make these two things say something different and go do a different application. Is this at all possible and if so can some one point me in the right direction. Thanks for your help.
mhartma
 
Posts: 4
Joined: 25. September 2019 21:05
XAMPP version: 7.3.9
Operating System: win 10

Re: XAMPP control panel modification

Postby Altrea » 25. September 2019 22:15

Theoretically it is possible. The control panel is open source written in Delphi. The sources are shipped with each XAMPP installation in the src folder.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: XAMPP control panel modification

Postby mhartma » 26. September 2019 13:40

What will the best program be to do this?
mhartma
 
Posts: 4
Joined: 25. September 2019 21:05
XAMPP version: 7.3.9
Operating System: win 10

Re: XAMPP control panel modification

Postby Altrea » 26. September 2019 15:14

The best program to code Delphi is Delphi.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: XAMPP control panel modification

Postby mhartma » 26. September 2019 16:03

thank you for the quick reply. i will work on it and see what i can do. thanks again.
mhartma
 
Posts: 4
Joined: 25. September 2019 21:05
XAMPP version: 7.3.9
Operating System: win 10

Re: XAMPP control panel modification

Postby mhartma » 26. September 2019 18:04

i am not having any luck. are you able to help me through this. i tried to replace all the names of filezilla with AuthServer, but it kept on throwing errors.
mhartma
 
Posts: 4
Joined: 25. September 2019 21:05
XAMPP version: 7.3.9
Operating System: win 10

Re: XAMPP control panel modification

Postby Altrea » 26. September 2019 18:34

No sorry. I am not able to change anything in the control panel.
The error messages are realized by help of .mo and .po files. Maybe that is the place you want to change anything?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: XAMPP control panel modification

Postby marialp » 19. October 2019 15:35

Hi mhartma.
To modify what the control panel displays as Tomcat you need to change the caption of the textbox in the uMain.dfm
which is the file that contains the design of the main form, this is easy once you got your sources loaded and building into the IDE.
But to actually call something else underneath would require quite a bit of programming.

I have managed to get the sources to build so that I could modify the code.
I am new to XAMPP so cannot guarantee that I have done things the correct way so take my advice
with a pinch of salt. Also have no doubt you can definitively break your setup so you have been warned.

The first thing you need is an IDE that can load your project file so that you can load your sources.
The XAMP sources can be found relative to your xampp directory under xampp\src\xampp-control-panel
and the project file has the file extension dproj. The delphi sources have the file extention .pas
(this is because the language is object oriented pascal I think) and the form files .dfm

I downloaded Rad Studio community edition (from Embarcadero).
https://www.embarcadero.com/products/delphi/starter/free-download
See their site for terms and conditions to ensure you are using the licence correctly.

On first try the sources loaded but would not build. the compiler complained about missing jcl libraries.
The only way I found to get round this was to download and install the JEDI project from github and then modify the sources
to actually use the libraries the compiler was complaining about.

I then was able to build and modify the code.

I hope that helps.
marialp
 
Posts: 10
Joined: 19. October 2019 14:34
XAMPP version: 3.2.4
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 63 guests