Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Logo Change on log-in

Quote Reply
Logo Change on log-in
Not extremely useful but can be highly impressive when used with a good design. Wink

I use this code below, in order to have the normal logo that appears to anybody that isn't logged in, become bright and clear when someone logs in.
In other words one is displayed to anybody that isn't logged in and another image to logged in users.

<%if current_user_id%>
<img src="<%image_url%>/logosky.gif" height="80" width="344">
<%else%>
<img src="<%image_url%>/logotop.gif" height="80" width="344">
<%endif%>

The logosky.gif is the one that shows up once the person has logged in. I added this to the include_header.html file for example.
Significant Media