Help - Search - Members - Calendar
Full Version: Footer Tags Not Working!?
Movable Type Community Forum > Using Movable Type > Templates and Tags
Cranialstrain
Hi All,

New to MovableType as of 3 days ago but have spent a lot of time becoming familiar with the templating system and various tags and I'm stuck getting one thing to work. When doing a 'comments' loop the 'header' only appears once but the 'footer' is appearing after every entry.. this surely can't be right?

For example:

<MTComments>
<MTCommentsHeader>[Start]<ul></MTCommentsHeader>
<MTCommentsFooter></ul>[End]</MTCommentsFooter>
<li><$MTCommentBody$></li>
</MTComments>

Should produce:
[Start]
<ul>
<ll>This is no.1 entry</li>
<ll>This is no.2 entry</li>
<ll>This is no.3 entry</li>
</ul>
[End]

but actually does:
[Start]
<ul>
<ll>This is no.1 entry</li>
</ul>
[End]
<ll>This is no.2 entry</li>
</ul>
[End]
<ll>This is no.3 entry</li>
</ul>
[End]

.. which obviously isn't right. Can anyone help?

Ian.

PS> Version: MovableType 3.2
Cranialstrain
Polite bump.

Does anyone else suffer from the same problem? Is it a recognized problem or just me?

Many thanks,

Ian.
imabug
The MTCommentsFooter container should be after the MTCommentBody line
Cranialstrain
Many thanks, that worked a treat. Of course I was convinced I tried that but obviously not smile.gif

Cheers, Ian.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.