1. Do configuration reload and full service restart after any modification? Yes, proceed to 2. No, try this: /usr/local/pf/bin/pfcmd configreload hard /usr/local/pf/bin/pfcmd service pf restart
2. Pf version > 11.2? Yes, you need to find the right docker and map the pm file to it and try again. No, you are targeting the wrong pm file. 发件人: Jason Maxfield via PacketFence-users <packetfence-users@lists.sourceforge.net> 发送时间: 2025年7月2日 1:19 收件人: packetfence-users@lists.sourceforge.net 抄送: Jason Maxfield <thejasonmaxfi...@gmail.com> 主题: [PacketFence-users] Captive Portal Customization Hi, I've been struggling to figure out how the captive portal is built to allow more customization. For instance, on device registration I would like to remove the "Role X has been assigned to your device" message completely. I found that it's generated in Root.pm however any modification of that file doesn't change the portal. I've tried restarting all of the portal/web related services, as well as completely restarting packetfence. So I'm assuming that file is only used when the captive portal is first built but I can't seem to find where those "live" files are located. Another issue I'm having is renaming fields and titles. I can do it within the html using if field == x and then changing the label, however it seems like the easier method would be to either modify the pm file like above, or utilize the locale files. I've modified the file in the conf/locale/en... directory and replaced the desired text, however it doesn't seem to change any of the desired labels. I've tried setting en as the language in the connection profile and renaming the html file to .en.html but nothing seems to work. I would also like to rearrange the fields within the signup.html file, specifically for sponsor authentication. As it is now, the fields in order are email, sponsor email, first name, last name. Which seems a little clunky. Any help would be greatly appreciated.
_______________________________________________ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users