LoginModule loading

cancel
Showing results for 
Search instead for 
Did you mean: 
anakin59490
Established Member II

LoginModule loading

Hi,

i used yeoman in order to generate my adf content app.

(GitHub - Alfresco/generator-ng2-alfresco-app: Yeoman Generator Angular 2 Alfresco Application )

I would like to change logo size on login page and i have found this doc :

https://community.alfresco.com/community/application-development-framework/blog/2017/12/15/adding-na... 

I use also Webstorm (see "Styling your Login page" in documentation)

but the login.component file used in my project is located in : /node_modules/@alfresco/adf-core/login/components

 So i have installed adf login component : Alfresco Angular 2 Components Catalog but i don't know how to change the LoginModule that is loading (it's always the same) ...

Thank you in advance

3 Replies
anakin59490
Established Member II

Re: LoginModule loading

I have added LoginModule in my app module :

I work with new version : 2.3.0

and this my html page :

<adf-login
  [backgroundImageUrl]="'./assets/images/loginbg.png'"
  [logoImageUrl]="'./assets/images/klinck.png'"
  providers="ECM"
  [showLoginActions]="false"
  [showRememberMe]="false"
  (success)="loadData($event)">
</adf-login>
anakin59490
Established Member II

Re: LoginModule loading

Found !

no need to import ng2-alfresco-login, just add to the component in order to override Style

encapsulation: ViewEncapsulation.None
eugenio_romano
Alfresco Employee

Re: LoginModule loading

Note, you are probably using an old version of ADF