How to add page footer on Citrix Gateway logon page with X1 based portal theme

How to add page footer on Citrix Gateway logon page with X1 based portal theme

book

Article ID: CTX490540

calendar_today

Updated On:

Description

  1. Replace "FooterDispalyContent" with real content you want to display, and then execute the following commands on CLI.
>add rewrite action rw_act_insert_information insert_after_all "HTTP.RES.BODY(120000).SET_TEXT_MODE(IGNORECASE)" "\"var myfooter=$(\'<div></div>\').attr(\'id\',\'myfooter\').appendTo(logonbelt_bottomshadow);myfooter.append(\\\"FooterDispalyContent\\\" ); \"\n\n" -search "text(\".attr(\'id\',\'logonbelt-bottomshadow\');\")"

>add rewrite policy rw_pol_insert_information "HTTP.REQ.URL.CONTAINS(\"gateway_login_view.js\")" rw_act_insert_information           

>bind vpn vserver VserverName -policy rw_pol_insert_information -priority 100 -gotoPriorityExpression END -type RESPONSE
  1. Edit "/var/netscaler/logon/themes/X1_NEW/css/custom.css" file, append the following codes. (X1_NEW is your custom portal theme name)
#myfooter {
   position: absolute;
   bottom: 5px;
   height: 30px;
   font-size: 12px;
   color: yellow;
   font-weight: bold;
   text-align: center;
   width: 100%
   padding-top: 5px;
   left: -100px;
}

Environment

This software application is provided to you as is with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that: (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the software application be used to support ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the software application.