Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide Application links when a user is not logged in?

S
Contributor
April 21, 2014

Is it possible to hide Application links when a user is not logged in?

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Champion
April 21, 2014

Hello,

you can do that using a simple javascript embedded into the Announcement Banner. Try using this example :

<script>
jQuery().ready(function() {
if(jQuery(".login-link").size()>0){
jQuery(".aui-header-before").hide();
}
});
</script>

Hope this helps.

Fabio

S
Contributor
May 6, 2014

Hi Fabio,

Thanks for the reply. Unfortunately, this doesn't seem to work.

login.jsp on load doesn't load contents from the announcement banner. It is highly unlikely any changes to announcement banner will solve my issue.

Suggest an answer

Log in or Sign up to answer