I did. I want to add a new separate policy page like AUP (but is different from AUP as it's more about do's and dont's). I added the link policy.html + policy_text.html (just like AUP). I also tried linking directly to policy_text.html - which didn't work as I get redirected back to the captive portal.
So then i have added a link /policy in the footer (like /aup) but this doesn't resolve as the controller / dispatcher doesn't know what page to serve. I have looked at the code but not sure. I think I might need a sub in guest.pm (like sub aup) add the url in constants.pm (like $URL_AUP) and a controller like Aup.pm ? Thanks for your help. ---------------------------------------- To: [email protected] From: [email protected] Date: Thu, 3 Dec 2015 08:26:29 -0500 Subject: Re: [PacketFence-users] Adding a new link in captive portal Hello Andy, why don't you just edit the footer.html ? Regards Fabrice Le 2015-12-03 08:17, Andy A a écrit : > Hi > > Any ideas or help? > > > > ---------------------------------------- >> From: [email protected] >> To: [email protected] >> Date: Fri, 27 Nov 2015 20:06:27 +0000 >> Subject: [PacketFence-users] Adding a new link in captive portal >> >> Hi >> >> Using PF 5.2 on Centos 6.x in inlne mode. I would like to add a new privacy >> policy link in captive portal footer. >> >> What perl module do I need to change for it to work? as currently adding the >> link doesn't work resolve to the privacy policy page. >> >> Add a variable in web/constants.pm and add a controller under >> lib/captiveportal/Packetfence/Controller? >> >> Thanks >> >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> PacketFence-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/packetfence-users > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > PacketFence-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/packetfence-users -- Fabrice Durand [email protected] :: +1.514.447.4918 (x135) :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org) ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
