Home arrow Forum Module Class Suffix not behaving in Joomla-SMF Login 1.3.2
  Welcome, Guest. Please login or register.
Did you miss your activation email?
January 08, 2009, 08:08:54 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.1.x (Moderators: -Wolverine, kai920)
| | | |-+  Module Class Suffix not behaving in Joomla-SMF Login 1.3.2
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Module Class Suffix not behaving in Joomla-SMF Login 1.3.2  (Read 1224 times)
Montty
Joomla Newbie
*

Karma: +2/-1
Offline Offline

Posts: 22



View Profile WWW
Module Class Suffix not behaving in Joomla-SMF Login 1.3.2
« on: February 10, 2006, 05:01:58 PM »

Hi everyone,

This is my first post here.

First of all thanks to Cowboy and –Wolverine for there great Joomla components & modules.  Smiley

I don’t know if this has already been addressed but trying to set a “Module Class Suffix” in the “Joomla-SMF Login 1.3.2” module”, do not seem to do anything.
As I couldn’t find anything related to this issue on the forum neither in the module download comments, I decided to look into it and came with the following fix.
Don’t know if this is the correct way, still it seems to work fine for me. Please amend if not adequate  Cheesy

In the file modules/mod_smf_login.php

Search for all occurrences of:
class="mainlevel"

and replace by:
class="mainlevel', $moduleclass_sfx, '"

Search for all occurrences of:
class="sublevel"

and replace by:
class="sublevel', $moduleclass_sfx, '"

i.e. around line 207 code:
<tr align="left"><td><a href="',$lostpassword_link,'" class="sublevel" >',$txt[315],'</a></td></tr>
will be cahnged to this:
<tr align="left"><td><a href="',$lostpassword_link,'" class="sublevel', $moduleclass_sfx, '" >',$txt[315],'</a></td></tr>

Hope this helps
Logged

-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Module Class Suffix not behaving in Joomla-SMF Login 1.3.2
« Reply #1 on: February 10, 2006, 06:43:03 PM »

doh!  Well, it would probably make more sense to have a conditional inline.  Thanks for the wake up call, I'll post a fix asap.

Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
MamboBuzz.com
Search Contact About Advertise Blogs Topsites Submit News Register Login