Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 04:57 am EDT

Geeklog Forums

Geeklog Forum - Comment table statement.


Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Hi,

Trying to create my own theme, I ran in a validation issue when copying the source file in dreamweaver.

After some error and trial handling this is caused by the forum block which you can display on the front page, exactly the same like here on geeklog.

Here on geeklog it validates and when comparing the source code I can see that here on geeklog following is coded out:

Text Formatted Code
<!-- tr -->
<!-- td nowrap colspan="5" class="forumclass3" -->

...


        <!-- /td -->
    <!-- /tr -->
 


where in the standard it isn´t commented out but displays correctly in IE but fails to display in a WYSIWG editor like dreamweaver.

I tried to locate the string, but seems to fail Banging your head

Anyone a clue where I can adapt this.

Thanks,
Boris
Vanrillaer.com - our Family Portal
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
OK - Fixed Mr. Green

I took me a while to figure it out and afterwards I did a search again, but couldn´t really find the answer allthough it is fixed here on geeklog.

So just in case someone else searches for it.

Following is the situation:

There seems to be a bug in the .thtml templates if you use the centerblock on the main page.

I downloaded the latest version available here, but it still seems to contain the error (forum_2.3.2_1.3.9.zip).

The result is that the page displays correctly in a browser (at least in IE) who ignores the mistake, but when displaying the page in a html editor it places everything after the forum centerblock outside the table.

Following "code" change fixes this in centerblock_header.thtml :

Text Formatted Code

<table width="100%" border="0" cellspacing="1" cellpadding="2">
<!-- table width="100%" border="0" cellspacing="1" cellpadding="2" cellspacing="1"-->
<!-- please note the double cellspacing -->
<tr class="forumTitle" align="center">
    <td width="25%" align="left" valign="middle" style="padding-left:5px"><b>{LANG_FORUM}</b></td>
    <td width="50%" align="left" valign="middle" style="padding-left:5px"><b>{LANG_TOPIC}</b></td>
    <td width="25%" align="left" valign="middle" style="padding-left:5px"><b>{LANG_LASTPOST}</b></td>
</tr>
<!-- tr -->
<!-- td nowrap colspan="5" class="forumclass3" -->
<!-- just uncomment the above two lines -->
 



Sorry if this is already listed somewhere else.
I did a search but couldn´t find.

Greetz,
Boris
Vanrillaer.com - our Family Portal
 Quote

All times are EDT. The time is now 04:57 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content