Security

Reply
New Contributor

Change Destination URL in print templates

Is it possible to change the detination URL in the Sponsor Confirmation print template?

 

The default behaviour is to append https://FQDN of clearpass onto the relative href of guest_registration_confirm.php.

 

Is it possible to change the URL to be a different DNS name?

 

Glyn

Aruba

Re: Change Destination URL in print templates

Hi Glyn,

 

You can change this under Configuration » Print Templates.  Edit the print template, and in the Notes area change the following:

 

{'guest_register_confirm.php'|NwaGetAppUrl}

 

to:

 

https://whatever.you.want/guest/guest_register_confirm.php

 

Note that there are 2 places that this change needs to be made.

New Contributor

Re: Change Destination URL in print templates

Thanks, I have tried to do that in the base code and from within the template, however the logic appends the base URL thus

 

https://NEW DNS/https://CURRENT DNS/guest_register_confirm.php

 

Do youknow how to strip the current DNS out of the expression?

 

Glyn

Aruba

Re: Change Destination URL in print templates

Paste your print template where you have edited it.

 

Note that the whole block surrounded by braces needs to be edited, not just the "guest_register_confirm.php" bit.

New Contributor

Re: Change Destination URL in print templates

Amigodave

 

Thanks, I have little experience of Smarty Templates but through a little trial and error I managed to solve the problem.

 

Glyn

 

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: