Topic-icon Need to customize the logout button under mod_sclogin

Active Subscriptions:

None
Hey, hope you are doing great! I have a quick question and hope you can help me out here.

I am using mod_sclogin and trying to customize the logout.php (i have copied it in my template / html / mod_sclogin folder for override).
In the logout.php, the below code
getLogoutButton();

Renders a logout button :
 input id="jfbcLogoutButton" class="button" type="submit" onclick="javascript:jfbc.login.logout_button_click()" value="Logout" name="Submit"
But, what I want is something like a simple logout anchor text, clicking on which will log the user out. I am also using Community Builder (and by the way, your community builder plugin works great with jFbc - thanks for that!) and all I want to show to my logged in users is this simple inline anchored text:

Welcome [User] | Manage Your Profile | Logout

Can you tell me how may I get rid of the logout button and create the above simple output from logout.php?
Thanks in advance
The topic has been locked.
Active Subscriptions:

None
Ok, I have solved this, I placed a simple anchor like below:
< a     o n c l i c k = j a v a s c r i p t : j f b c . l o g i n . l o g o u t _ b u t t o n _ c l i c k ( )  > Logout < a >

and changed the other designs with the CSS.
The topic has been locked.
Support Specialist
12 years 4 months ago #16143 by alzander
akashmitra,
Sorry for the delay in getting to this post. That's the exact right way to do what you were looking for. Hopefully, you're good now with JLinked, but if you have any other questions, just let us know. I'll be answering your other forum post in a few minutes.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Thanks Alex. I do not know much about HTML / PHP stuffs - I am just trying to build my own website myself - and fortunately people like you are always there to help us out in all such weird and difficult situations.
Thanks again!
The topic has been locked.
Support Specialist
12 years 4 months ago #16152 by alzander
We understand where you're coming from, and glad to help. Just let us know how we can. We aren't too specific about questions, so feel free to ask Joomla generic questions, if you have any. Can't guarantee you'll get a great answer to those all the time, like with our extensions, but we do what we can.

Site's looking good overall though, just so you know. Looks like your work is paying off in my opinion :)

Alex
The topic has been locked.