Posts made by Thomas Hanley

Hi,

Joseph makes a good point about colour contrast (I am having an agree with Joseph day today ; ).

For accessibility reasons it is good to run a Colour Contrast Analyser check. I use Juicy Studio's Firefox extension (several other really useful accessibility tools on this site).

http://juicystudio.com/article/colour-contrast-analyser-firefox-extension.php#analyser

~thomas

Average of ratings: Useful (1)
Hi May,

Many thanks for your very helpful explanation. Everything works as you have described it.

I am trying now to hide the text: 'you are logged in as' and 'you are not logged in'. feel that this text is redundant. I would like Moodle just to show:

Login (when user is not logged in)

and

Username Logout (when user is logged in)

I have tried language editing: leaving an empty string but Moodle detects this. Whilst writing this post I had an idea to use a HTML character entity for a space  

This actually does trick Moodle but is a horrible hack! I do not know anything much about PHP at all (I am an XHTML/CSS developer). Is there a way to address the PHP variable '
loggedinnot' using CSS? I would then set it to display: none; using CSS.

Is this what you meant when you wrote:

I have also been able to add style tags to my theme's css and then apply them to the php strings for 'login' and 'logout.'

Any advice on how to do this would be appreciated.

Many thanks

~thomas

I agree with James. Perhaps the point that he is making is that this should be the default behaviour rather than something people should have to change themselves (not all Moodle users will have the capacity to make these kind of changes). On every site I use with login/logout functionality this functionality is available on every page by default.

Hi Leo,

Just like to add that I agree with your point on having the ability to modify the "You are logged in as...(Logout)" link text.

Of course in the big scheme of things this is a small detail, but as Ian Grivois and others have pointed out these small details add up to a cleaner, more usable interface. These kind of details are exactly the ones that interface designers such as myself notice and try to improve. For me this is not just a question of aesthetics but also a question of  user experience; making it easier for users to separate out the different functions of logging in and out, by placing them on a different line. Obviously it is not ideal to have to hack the PHP to achieve this.

Thanks also to Tim for his work on Moodle 2.0.

~thomas