Overriding Login Box?

15 years 10 months ago #66187 by karmicbalance
Overriding Login Box? was created by karmicbalance
Is there a way to override the /modules/mod_cblogin/mod_cblogin.php with a file in the /templates/my_templates directory? i.e. the same way you can override the default joomla mod_login module. I am using Joomla 1.5.3 and CB1.2 RC 10.

I basically want to customize the HTML output without touching the business logic contained in the mod_cblogin.php file (and having to reapply the changes whenever CB is patched/updated).

Please Log in to join the conversation.

15 years 10 months ago #66325 by felixkat
Replied by felixkat on topic Re:Overriding Login Box?
I would be interested in this as well, especially with 1.2.

IT would be a lot of work to keep making changes every time a patch is applied.

Please Log in to join the conversation.

15 years 10 months ago #66333 by beat
Replied by beat on topic Re:Overriding Login Box?
Sorry, no, CB login module 1.2 doesn't allow this.

Future releases should allow such a thing.

But did you check all parameter settings of CB login module ? There are quite a lot of possibilities to influence output, and using template CSS, most things can be achieved too, without changing the html.

However if somebody wants to contribute a better CB login module, you are welcome :)

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

15 years 10 months ago #66427 by aurora2
Replied by aurora2 on topic Re:Overriding Login Box?
Thats true a lot of styling could be done via css, e.g. if you want icons in the Username and Password Inputfileds it is very easy to do it with CSS, like:

#mod_login_username {
background: #ffffff url(../images/yourloginuser.png) no-repeat left;
padding-left: 16px;
}

#mod_login_password {
background: #ffffff url(../images/yourloginkey.gif) no-repeat left;
padding-left: 16px;
}

thats all. You can style the border, backgroundcolor here to.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.199 seconds

Facebook Twitter LinkedIn