Also, I’d like to have the default action that appears to be the Access 
Duration action. Currently it shows Set Role by default, however as my staff 
users can only give users the guest role, this action is not needed.

I’ve managed to hide the non-required parts of the create users form, and 
change some of the text from create.tt page, but where can I add a default 
unregistration date, and the Value order?

Cheers,
Andi

From: Morris, Andi [mailto:[email protected]]
Sent: 07 October 2015 16:45
To: [email protected]
Subject: Re: [PacketFence-users] tweaking the create users page

Thanks Derek.

That was really helpful. I managed to hide the registration window from view, 
but the user couldn’t be created as this seems to be a required field. Is there 
a way I can make all created users have a certain registration window by 
default? I’m finding that having the registration time, and access duration is 
confusing to users.

Cheers,
Andi

From: Derek Wuelfrath [mailto:[email protected]]
Sent: 01 October 2015 21:39
To: ML PF 
<[email protected]<mailto:[email protected]>>
Subject: Re: [PacketFence-users] tweaking the create users page

Andi,

It is indeed possible to do it (it’s like zombocom, everything is possible). I 
actually did it for some specific use cases

You would need to create some custom code.

You could have a look at html/pfappserver/root/user/create.tt and add some 
“hidden” fields.

There’s of course, may have more file to check but basically, that should do it 
:)

Cheers!
dw.

—
Derek Wuelfrath
[email protected]<mailto:[email protected]> :: 
www.inverse.ca<http://www.inverse.ca>
+1.514.447.4918 (x110) :: +1.866.353.6153 (x110)
Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and 
PacketFence (www.packetfence.org<http://www.packetfence.org>)

On Oct 1, 2015, at 11:45, Morris, Andi 
<[email protected]<mailto:[email protected]>> wrote:

Is there a way to remove the registration window option and make two actions 
appear by default (access duration and role) in the create users window? I’m 
trying to make this page as simple as possible for the staff creating users.

Cheers,
Andi

-------------------------------------
Andi Morris
IT Security Officer
Cardiff Metropolitan University
T: 02920 205720
E: [email protected]<mailto:[email protected]>
--------------------------------------

________________________________

[Image removed by sender. Cardiff Metropolitan University - 150 years of 
nurturing talent]<http://www.cardiffmet.ac.uk/cardiffmet150> 
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to