|
From: Olivier B. <obi...@in...> - 2010-02-03 19:24:36
|
Hi Jake, Sallee, Stephen (Jake) wrote: > Has anyone done any customization to the login and registration page? > We want to brand the page but when we look at the code we can’t figure > out where PF is pulling the data for all of the variables. Some text is coming from the translatable messages in conf/locale/en/. Then it is processed by lib/pf/web.pm which takes care of the templates. Check the Developer guide under the "Registration Pages" section for more information: http://www.packetfence.org/en/download/documentation.html > > Also we want to only have a single page so the user does not have to go > to two pages to register. You would need to combine the code in the subs generate_login_page and generate_registration_page in lib/pf/web.pm and merge the html for login, register and register_1 into one file. A lot of it is actually similar, just make sure that you have the right web form that posts to attempt to authenticate the user. Regards, -- Olivier Bilodeau obi...@in... :: +1.514.447.4918 *115 :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.scalableogo.org) and PacketFence (www.packetfence.org) |