Results 1 to 3 of 3

Thread: Modifying App Center

  1. #1
    Senior Member
    Join Date
    Jan 2014
    Posts
    369

    Modifying App Center

    Hi guys

    Looking to modify the web app center welcome screen experience.

    We have made a copy of the file C:\Lianja\cloudserver\tenants\public\wwwroot\login .rsp, modified it and then changed the default page in the Lianja Server Manager to point to our new file.

    Rebooted the Server Manager. That works well.

    Our amended xxxlogin.rsp file obviously calls appcenter.rsp after login. We have also amended appcenter.rsp and all now works well but presumably updates will overwrite the appcenter.rsp. Is there any way to change which file our xxxlogin.rsp calls so it doesn't get overwritten during an update? Been through the file but there is nothing obvious.

    Thanks

    Simon

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    Simon,

    You customize the login.rsp and the appcenter.rsp by creating a a custom C:\lianja\cloudserver\tenants\public\wwwroot\tenan t_config.js file

    You should not edit the lianja files as these will be overwritten on updating to a new version and contravene our copyright which you should leave alone. ISV licensees are the only ones allowed to change these files.

    These is a sample file C:\lianja\cloudserver\tenants\public\wwwroot\_tena nt_config.js which you can rename to tenant_config.js and customize the login and appcenter pages.

    If you read that file you will see its quite straightforward.

    the example file contains:

    Code:
    var tenant_config = {
    	"general":
    	{
    		"headericon": "img/elephant_icon32.png",
    		"caption": "Welcome to Lianja",
    		"background_color": "white",
    		"color": "orange",
    		"captioncolor": "black",
    		"categorycolor": "#407EB8",
    		"footercolor" : "black",
    		"navbar_css":"background-color:#333333;",
    		"_navtabscolor":"gray"
    	},
    	"login": {
    		"caption": "Lianja App Center Login",
    		"background_image": "url(img/background.png)",
    	},
    	"appcenter": {
    		"caption": "Lianja App Center",
    		"background_image": "url(img/background.png)",
    	}
    };
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Senior Member
    Join Date
    Jan 2014
    Posts
    369
    Thats great - thanks. Looks good.

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us