W3 html validation error

15 years 1 month ago #88780 by mrappi
W3 html validation error was created by mrappi
I get the following error:
# Line 167, Column 7: end tag for "td" omitted, but OMITTAG NO was specified.

</table></form> </div>

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
# Info Line 153, Column 4: start tag was here.

<tr><td><span id="mod_login_usernametext"><label for="mod_login_username"><img s

And few errors related.
Only when I use the vertical mod_cblogin layout.
If I use the horizontal layout it validates just fine.
I tried to edit /modules/mod_cblogin.php but I only made it worse.
Using joomla 1.0.15 and CB 1.2
Ideas?
Thanks

Please Log in to join the conversation.

14 years 10 months ago #99521 by tekkoTeo
Replied by tekkoTeo on topic Re:W3 html validation error
ME TO!!!!!!!!!!!

I found the same problem if i use icons at "Display login reminder / register as..."


My solution:
mod_cblogin.php
line 830

find
if ($horizontal || ( $show_remind_register_icons == 2 ) ) {
echo "</span>\n";

add
if ($horizontal || ( $show_remind_register_icons == 2 ) ) {
echo "</span></td></tr>\n";

Post edited by: tekkoTeo, at: 2009/05/21 18:37

Please Log in to join the conversation.

14 years 10 months ago #99644 by mrappi
Replied by mrappi on topic Re:W3 html validation error
this is what works:

[code:1]if ($horizontal || ( $show_remind_register_icons == 2 ) ) {
echo "</span></td></tr>\n";
[/code:1]

I just realized that if you don't enclose your code within the code tags the backslash is not displayed...

THANKS A LOT FOR POSTING!

Post edited by: mrappi, at: 2009/05/23 01:48

Please Log in to join the conversation.

14 years 10 months ago #99645 by beat
Replied by beat on topic Re:W3 html validation error
Hm. Is that bug still in CB 1.2.1 ???

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.

14 years 10 months ago #99728 by mrappi
Replied by mrappi on topic Re:W3 html validation error
Yes, I think so.

Please Log in to join the conversation.

14 years 10 months ago #99763 by tekkoTeo
Replied by tekkoTeo on topic Re:W3 html validation error
yes.....

option: Display login reminder / register as
value: icon

mod_cblogin don't close <tr> and <td>

[code:1]
<div class="module">
<form action="www.teknoweb.eu/component/comprofiler/login.html" method="post" id="mod_loginform" style="margin:0px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="mod_login">
<tr><td><input type="text" name="username" id="mod_login_username" class="inputbox" size="18" style="background-image:url(www.teknoweb.eu/modules/mod_cblogin/mod_cblogin/username.png); background-repeat: no-repeat; background-position: 0px 0px; padding-left: 30px; min-height: 18px;width:auto;" alt="Nome utente" value="Nome utente" onfocus="if (this.value=='Nome utente') this.value=''" onblur="if(this.value=='') { this.value='Nome utente'; return false; }" title="Nome utente" />

<span><input type="password" name="passwd" id="mod_login_password" class="inputbox" size="18" style="background-image:url(www.teknoweb.eu/modules/mod_cblogin/mod_cblogin/password.png); background-repeat: no-repeat; background-position: 0px 0px; padding-left: 30px; min-height: 18px;width:auto;" alt="Password" value="paswww" onfocus="if (this.value=='paswww') this.value=''" onblur="if(this.value=='') { this.value='paswww'; return false; }" title="Password" />

<input type="hidden" name="op2" value="login" />

<input type="hidden" name="lang" value="italian" />
<input type="hidden" name="force_session" value="1" />
<input type="hidden" name="return" value="B:aHR0cDovL3d3dy50ZWtub3dlYi5ldS8=" />
<input type="hidden" name="message" value="0" />
<input type="hidden" name="loginfrom" value="loginmodule" />
<input type="hidden" name="cbsecuritym3" value="cbm_1a8f5ab7_30bf6de7_c2ab73594a42521cea6437f8d3a9b03d" />
<input type="checkbox" name="remember" id="mod_login_remember" value="yes" /> <span id="mod_login_remembermetext"><label for="mod_login_remember">Ricordami</label></span><br />
<input type="submit" name="Submit" class="button" value="Accesso" style="min-height:20px;padding-left:30px;cursor:«»pointer;background-image:url(www.teknoweb.eu/modules/mod_cblogin/mod_cblogin/login.png);background-position:0 0;background-repeat:no-repeat;width:auto;" />  
<a href="www.teknoweb.eu/component/comprofiler/lostpassword.html" class="mod_login">www.teknoweb.eu/modules/mod_cblogin/mod_cblogin/forgot.png" alt="Recupera Nome utente/Password" title="Recupera Nome utente/Password" width="25px" height="20px" style="border-width:0px;cursor:«»pointer;" />  
</table></form> </div>

[/code:1]

Post edited by: tekkoTeo, at: 2009/05/24 09:33

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.328 seconds

Facebook Twitter LinkedIn