Poweredby CubaPlatform

Hello,

Unfortunately I cannot get rid or modify poweredBy from login screen.
In the past it was much easier but now (7.2.6 platform) it doesn’t work.

I put cuba.web.loginDialogPoweredByLinkVisible=false in Screens/messages.properties
image ,

I tried to extend login screen but I don’t find any powerdby in xml file…only
@Subscribe(“poweredByLink”)
public void onPoweredByLinkValueChange(HasValue.ValueChangeEvent event)

Please advise!
-n

Partial workaround:

public class ExtLoginScreen extends LoginScreen {
    @Inject
    private Label<String> poweredByLink;

    @Subscribe
    public void onInit1(InitEvent event) {

        poweredByLink.setValue("<a href="https://www.mylink.com/">Visit Mylink.com!</a>");
         poweredByLink.setHtmlEnabled(true);
        
    }

}

I still have the cuba logo.
image

Hi,

cuba.web.loginDialogPoweredByLinkVisible is app property not a message key, so it must be located in the web-app.properties file.

Gleb

Hi,

You are right. Thank you!
Apart of this, is there any solution to get rid of Cuba Icon (from poweredByLink)?

Best Regards,
-n

cuba.web.loginDialogPoweredByLinkVisible=false hides the entire message including the icon.

Yes, but I still need the link.
poweredByLink.setStyleName(""); did the job…

Regards,
-n