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

Guest branding

This thread has been viewed 2 times
  • 1.  Guest branding

    Posted Feb 06, 2015 05:23 PM

    I want to brand my guest portal, but my problem is I have about 20 brands in the buliding.  My idea was to just brand the guest email, and the guest receipt page with the branding logos.  I was going to take the brand name from ldap when the user looks up his sponsor, and use that as the name of the jpg to brand with.

     

    So the guest looks up joe who belongs to brandx.   The receipt page would put brandx.jpg up, and possibly some spiffy code for a default jpg.

     

    My question is, is this possible?  Can I pass attributes from clearpass into the javascript?  



  • 2.  RE: Guest branding

    Posted Feb 07, 2015 02:39 AM

    Here's a bit of PHP Smarty code, hopefully it will get you started in the right direction.

     

    This will allow you to embed an image with a variable called $beer

     

    It will also default to the URL public/logoX.png if the $beer variable is not defined

     

    Assuming you will upload logoX.png in content manager

     

    <img src="public/{$beer|default:"public/logoX.png"|escape}">

     

    I believe you can embed that variable $beer in the URL or a hidden field in the previous [registration] page, for example if you uploaded a logoY.png in content manger:

     

    your_page.php?_browser=1&beer=logoY.png

     

    Or you can code up some Javascript to detect the domain/brand name from the LDAP form.

     

    Let me know if this helps, but I'll brainstorm and see if there's an easier way to accomplish what you're trying to do.

     

    -Harry