[GH-ISSUE #663] Changing template.h #555

Closed
opened 2026-02-28 01:25:50 +03:00 by kerem · 6 comments
Owner

Originally created by @vaz83 on GitHub (Jul 17, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/663

Hi,
I am making some changes on the template.h file (changing the background color of the webportal), but everytime i compile, and then I open the page on the webbrowser, it's not changing the color, I view the code, and my changes are not there, seems the compiler is not noticing the changes I have made. Am i doing something wrong ?

Thanks!

Originally created by @vaz83 on GitHub (Jul 17, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/663 Hi, I am making some changes on the template.h file (changing the background color of the webportal), but everytime i compile, and then I open the page on the webbrowser, it's not changing the color, I view the code, and my changes are not there, seems the compiler is not noticing the changes I have made. Am i doing something wrong ? Thanks!
kerem closed this issue 2026-02-28 01:25:51 +03:00
Author
Owner

@vaz83 commented on GitHub (Jul 17, 2018):

Anyone?

<!-- gh-comment-id:405755847 --> @vaz83 commented on GitHub (Jul 17, 2018): Anyone?
Author
Owner

@tablatronix commented on GitHub (Jul 18, 2018):

Template is not used

<!-- gh-comment-id:405767358 --> @tablatronix commented on GitHub (Jul 18, 2018): Template is not used
Author
Owner

@vaz83 commented on GitHub (Jul 18, 2018):

Sorry, my mistake, i meant using the strings_en.h. I have added in the code #define WIFI_MANAGER_OVERRIDE_STRINGS and added the consts i wanted to change before the #include <WiFiManager.h> but it isn't changing anything, only if i change the strings_en.h directly..

<!-- gh-comment-id:405876272 --> @vaz83 commented on GitHub (Jul 18, 2018): Sorry, my mistake, i meant using the strings_en.h. I have added in the code #define WIFI_MANAGER_OVERRIDE_STRINGS and added the consts i wanted to change before the #include <WiFiManager.h> but it isn't changing anything, only if i change the strings_en.h directly..
Author
Owner

@tablatronix commented on GitHub (Jul 18, 2018):

Yeah you cannot define in sketch, I have not figured out how you can override that yet. I think you have to use a shared header. For now you have to modify the strings file.

<!-- gh-comment-id:405916626 --> @tablatronix commented on GitHub (Jul 18, 2018): Yeah you cannot define in sketch, I have not figured out how you can override that yet. I think you have to use a shared header. For now you have to modify the strings file.
Author
Owner

@vaz83 commented on GitHub (Jul 18, 2018):

ok, i can live with that :) done it and already working, thanks :)

<!-- gh-comment-id:405946918 --> @vaz83 commented on GitHub (Jul 18, 2018): ok, i can live with that :) done it and already working, thanks :)
Author
Owner

@tablatronix commented on GitHub (Jul 18, 2018):

You can do it but I have no idea how, I never got it to work.
I think you have to have multiple headers and an include tree.

<!-- gh-comment-id:406036680 --> @tablatronix commented on GitHub (Jul 18, 2018): You can do it but I have no idea how, I never got it to work. I think you have to have multiple headers and an include tree.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#555
No description provided.