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