As a custom banner on the login page of Storefront 2.x, Director 7.x or Citrix License Server 11.x

11:06 AM
As a custom banner on the login page of Storefront 2.x, Director 7.x or Citrix License Server 11.x -

Background

Add Customizations allow Citrix customers web pages reflect company logos, color schemes, marketing styles and even in some cases security banner. However, adjustments require in-depth knowledge of the structure and coding behind every site.

require some customers that all levels of authentication (all login pages) display Safety Banner, the contour, the rights to privacy (or lack thereof) in accessing their sites. In this case, a simple change to the web page's code performs the addition of text - a security banner - near the authentication fields every time a user

Some adjustments heavily documented visible on the side. - Check-out blogs like this by Feng Huang - but the addition of a security banner or text floating, was not explicitly discussed

This article contains information about modifying the login page of Storefront, Director. and Citrix License Server web pages. Note that it can be made a fundamental Banner configuration and changes the specific size, font and color to suit individual requirements.

After working with the members of the CCS team who implemented in various adaptations of the past, we have consolidated our results in a single point of reference. I want to give a special thank you to Wonmin Lee, William Elvington, Steven Krueger, Dan Morgan, Felipe Bernal and Kelsey Kempler for their help in writing this blog.

Customize the login page for storefront server

This section explains how to customize the banner on Citrix Storefront 2.x server. The following configurations within the contrib folder changes for all the storefront server propagate

  1. In a storefront server to . C: / inetpub / wwwroot / Citrix / Web / contrib
  2. Locate and a copy of custom.script file in the Create same position as backup -. in the event that changes have to be undone, the copy can be used to replace the file custom.script back to the original code.
    custom.script - Copy.js
  3. Open custom .script file in Notepad (as an administrator).
  4. Enter shown the following text as Save and click
    $ (document) .ready (function () {
    $ var markup = $ ( '

    ');
    $ markup.insertAfter ( '# logonbelt-bottomShadowColor');
    });


  5. * They note that when copying and pasting of code directly from this blog, the individual and double quotes may not insert symbols correctly and may require manually clearing and re-enter these symbols in the editor. This applies to all code snippets in this blog.

  6. a copy of custom.style file in the search and create the same location as backup - in the event that the changes need to be reversed, the copy can be used to return the custom.style to replace file to the original code.
    custom.style - Copy.css

  7. Open custom.style [1945014[ file in Notepad (as an administrator).
  8. Enter the following text, as shown, add the CSS rules, and click Save :
    #bottom p {
    text-align: center;
    color: white
    }

  9. Locate and a copy of custom. wrstrings.en create; file in the same location as backup - in the event that the changes need to be reversed, the copy can be used, the custom.wrstrings.en to replace file back to the original code
    custom.wrstrings.en -. Copy.js
  10. Open custom.wrstrings.en file in Notepad (as an administrator).
  11. Enter the following text as shown Add the custom string and click Save :
    BANNER: 'CUSTOM BANNER TEXT HERE'

  12. for storefront navigate login page and the banner should the authentication fields as shown below appears:

adjust for Director Server the login page

this section explains how to customize banner on Citrix Director 7.x server. The following configurations must be configured on each Director servers that the custom banner requires

  1. Each Director Server to . C: / inetpub / wwwroot /Director.
  2. a copy of Logon.aspx file in the same location as backup in the event that search and create changes need to be reversed, the copy can be used to the Logon.aspx return file to the original code to replace
    LogOn -. copy. aspx
  3. Open make Logon.aspx submits to the Editor (as an administrator).
  4. Find the following text, enter the bold banner text as shown, and click Save :

    CUSTOM BANNER TEXT HERE



  • navigate to the Director login page, and the banner should displayed under the authentication fields are shown:
  • customize the login page for Citrix License Server

    this section explains as the banner on Citrix License Server customize 11.x. The following configurations must be configured on each license server that the custom banner requires

    1. on each license server to . C: / Program Files (x86) / Citrix / licensing / LS / web / strings / s.
    2. they make a copy of default.xml file and move it to the C: / Program files (x86) / Citrix / licensing / LS / web / string / - note that the copy must be stored in a different folder that is not necessarily the strings wallet. In the event that changes have to be undone, the copy can be used to to replace default.xml back to the original code file.
      default - Copy.xml
    3. Open default.xml file in Notepad (as an administrator)
    4. Find the following text, and then delete the bold string .:
      you must login to the administration area. Click on & lt; a href = "{href}" & gt; here & lt; / A & gt; Register .

    5. Enter the bold banner text as shown Save and click on:
      CUSTOM BANNER TEXT HERE

    6. Navigate to the License Server web page, click Administrators tab in the upper right corner and the banner should be displayed after the authentication fields before and as shown:

    Disclaimer:

    The above example code is provided as is without representations, warranties or conditions of any kind. You can use, modify and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES OF ANY KIND, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) may include the sample code errors, design flaws or other problems that may cause data loss or damage to property; (B) it may not be possible to make the sample code fully functional; and (c) Citrix may, without notice or liability to you, no longer available to make the current version and / or future versions of the sample code. In no event should the code to support ultra-hazardous activities, including but not limited to use life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS IN BREACH OF CONTRACT OR ANY OTHER LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THE SAMPLE CODE, INCLUDING DIRECT, SPECIAL, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Although the copyright belongs in the code to Citrix, any distribution of the code should have only your own standard of the owner of the rights, and not by Citrix. You agree to indemnify and defend Citrix against any claims arising from the use, modification or distribution of the code created.

    Previous
    Next Post »
    0 Komentar