mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #851] Request to show parameter on save page #715
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#715
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Muhammed-Hayr-Ali on GitHub (Mar 16, 2019).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/851
i have modified the Save message to write the name of the Wifi network and the access point name
String page = FPSTR(HTTP_HEAD);
page.replace("{v}", "Credentials Saved");
page += FPSTR(HTTP_SCRIPT);
page += FPSTR(HTTP_STYLE);
page += _customHeadElement;
page += FPSTR(HTTP_HEAD_END);
page += FPSTR(HTTP_SAVED);
page += FPSTR(HTTP_END);
page.replace("{d}",_apName );
page.replace("{x}", _ssid);
server->sendHeader("Content-Length", String(page.length()));
server->send(200, "text/html", page);
page.replace("{x}", _ssid);
page.replace("{d}",_apName );
I would like to show the parameters
Example
page.replace("{f}", _ parameter1);
page.replace("{n}",_ parameter2);
@Muhammed-Hayr-Ali commented on GitHub (Mar 16, 2019):
Thank you problem has been solved
page.replace ("{f}"، parameter1)؛
page.replace ("{n}"، parameter2)؛
@tablatronix commented on GitHub (Mar 16, 2019):
good idea