PDA

View Full Version : Having troublem with Comment System layout...


Jaxel
04-26-2009, 04:08 PM
Attached is two images, one image is from one mod, the other image is from another mod. Both images use the same exact template code... but in the second one, the template is showing up different and I cant figure out why...

comment table:
<ol class="list_no_decoration alt1 block_row" id="message_list">
$commentsHTML
</ol>

comment bit:
<li id="comment$comment[commentID]" class="floatcontainer">
<if condition="$comment[avatarurl]">
<div class="visitor_fixed_width_avatar">
<if condition="$comment[userID]"><a href="member.php?u=$comment[userID]"></if><img src="$comment[avatarurl]" class="alt2 avatar"<if condition="$comment[avatarwidth]"> width="$comment[avatarwidth]"</if><if condition="$comment[avatarheight]"> height="$comment[avatarheight]"</if> border="0" alt="$comment[username]" /><if condition="$comment[userID]"></a></if>
</div>
<div class="visitor_message_avatar_margin">
</if>
<div class="tborder info_bar">
<div class="alt2 smallfont">
<div class="visitor_message_date">$comment[date], <span class="time">$comment[time]</span></div>
<if condition="$comment[userID]">
<a href="member.php?$session[sessionurl]u=$comment[userID]">$comment[musername]</a>
<else />
<phrase 1="$comment[musername]">$vbphrase[guest_x]</phrase>
</if>
</div>
</div>

<div class="visitor_message_body">$comment[cText]</div>

<ul class="list_no_decoration controls">
<if condition="$show[deletionlink]"></if>
</ul>
<if condition="$comment[avatarurl]">
</div>
</if>
</li>

Am I forgetting something?

Jaxel
04-26-2009, 09:55 PM
Is anyone able to look into this one for me? It seems like the classes I am using in the HTML aren't being read. Is there an include I am missing?