Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 Next > End >>
Editing the CB login button
Date: 2006/03/05 08:42 By: penguinhead Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 15
graphgraph
Can someone please advise me what code I need to edit to change the login button to an image button?

Also I want to change the Username and Password Labels to other words or remove them completely. Where do I find the file to edit these parameters?

Any assistance would be most appreciated!
Click here to see the profile of this user The topic has been locked.

Re:Editing the CB login button
Date: 2006/03/10 15:00 By: penguinhead Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 15
graphgraph
Hi All

Can anyone at least tell me what file I can edit the code for the CB Login module?
Click here to see the profile of this user The topic has been locked.

Re:Editing the CB login button
Date: 2006/03/11 20:23 By: nant Status: Admin  
Karma: 466  
Admin

Posts: 6230
graph
penguinhead wrote:
Can someone please advise me what code I need to edit to change the login button to an image button?

Also I want to change the Username and Password Labels to other words or remove them completely. Where do I find the file to edit these parameters?

Any assistance would be most appreciated!


In your modules folder there is the mod_cblogin.php file. This contains the login code.
All language strings can be changed in the components/com_comprofiler/plugin/language area (based on your installed languages).
Nick A.
CB Core Team Member
Support CB Development and Get Detailed Documentation
Developer of Nant's Gallery plugin
CB Gallery Extensions Listing, Rate CB Gallery on Extensions Site
Developer of CB AutoWelcome Plugin
CB AutoWelcome Extensions Listing,Rate CB AutoWelcome on Extensions Site
People ignoring your call for help? Read this!
FAQ you
Joomlapolis Extensions Directory (new)- check it out!
Click here to see the profile of this user The topic has been locked.

Re:Editing the CB login button
Date: 2006/10/10 17:16 By: sanjiovani Status: User  
Karma: 3  
Senior Joomlapolitan

Posts: 62
graphgraph
1. how do i make the login button larger
2. to change to an image button where would i put the following code <input type="image" src="button.gif" alt="Login">

thanks

sanjiv
Click here to see the profile of this user The topic has been locked.

Re:Editing the CB login button
Date: 2006/10/10 18:22 By: mikko Status: User  
Karma: 106  
Platinum Joomlapolitan

Posts: 2230
graphgraph
In the same place where the submit button is created. To find the place, use any program which can search accross multiple files and then serach for example for 'type="submit"' and pick the right place to edit (by trial and error if you cannot figure which file to edit)

mikko
Click here to see the profile of this user The topic has been locked.

Re:Editing the CB login button
Date: 2006/10/10 20:52 By: sanjiovani Status: User  
Karma: 3  
Senior Joomlapolitan

Posts: 62
graphgraph
i found the code in mod_cblogin.php


echo '<input type="submit" name="Submit" class="button'.$class_sfx.'" value="'._BUTTON_LOGIN.'" />';
if ($horizontal) echo "  n"; else echo "</td></tr>n<tr><td>";

what code do I change for an image login button ?

Thanks

Sanjiv
Click here to see the profile of this user The topic has been locked.

<< Start < Prev 1 2 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC4)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC4, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers and now also to all registered joomlapolitans.

CB Login