Security

last person joined: yesterday 

Forum to discuss Enterprise security using HPE Aruba Networking NAC solutions (ClearPass), Introspect, VIA, 360 Security Exchange, Extensions, and Policy Enforcement Firewall (PEF).
Expand all | Collapse all

Change Destination URL in print templates

This thread has been viewed 1 times
  • 1.  Change Destination URL in print templates

    Posted Feb 20, 2013 10:15 AM

    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



  • 2.  RE: Change Destination URL in print templates
    Best Answer

    Posted Feb 20, 2013 07:15 PM

    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.



  • 3.  RE: Change Destination URL in print templates

    Posted Feb 21, 2013 06:14 AM

    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



  • 4.  RE: Change Destination URL in print templates

    Posted Feb 21, 2013 06:10 PM

    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.



  • 5.  RE: Change Destination URL in print templates

    Posted Feb 25, 2013 06:18 AM

    Amigodave

     

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

     

    Glyn