Page 1 of 1

Is it possible to have the frontenduser's logout as an image?

Posted: Thu Dec 07, 2006 11:08 am
by jongrant
Hi,

I'm currently using the latest versions of CMSMS, FrontEndUsers and CustomContent to run a student centre for our taekwondo website. As I previously designed the site with a logout button, and I'm trying to adapt the modules to my exisiting design, I really want to keep my logout button. Is there any way to make FrontEndUser recognise an image as the logout function? I see in the documentation that I can show a text link or a button, but no mention of using an image...

Any help would be great.

Thanks guys.

Re: Is it possible to have the frontenduser's logout as an image?

Posted: Thu Dec 07, 2006 12:40 pm
by cyberman
Please try to transform logout template in admin panel like

Code: Select all

<p id="logout">{$link_logout}</p>
Then it should be possible to style link with CSS via

Code: Select all

p#logout a {}
Perhaps this is useful too for your styling :)

http://themes.cmsmadesimple.org/Image_menu.html

Re: Is it possible to have the frontenduser's logout as an image?

Posted: Fri Dec 08, 2006 8:18 am
by jongrant
Thanks for your help Cyberman.

My problem is that I dont want the logout button to be in the logout template, but rather in the header template for the pages which has the content on it (the logout button would be part of the navigation bar). Is there anyway to implement the code so that it works in the navigation bar within the header template? At the moment, the logout, change my settings etc links are shown at the top of the page (as thats where the FrontEndUsers tag is put cause I want to protect the entire page from unauthorised access), so even if I added that code to the logout template in FrontEndUsers it would only show up at the top of the page..

I can live with it not being possible, but just wanted to find out off anyone if it is possible, and if so, how can I do it.

Thanks again,
Jon

Re: Is it possible to have the frontenduser's logout as an image?

Posted: Fri Dec 08, 2006 12:55 pm
by cyberman
Hmm, haven't tried yet ... create a new page with name Logout content type link. Then you have to copy the link for logout (Firefox has a nice function to do that) and paste it to page URL.