Plugin Forums

Discuss and get help with staggernation.com's plugins for Movable Type.

You are not logged in.

#1 2007-07-25 00:49:08

Shisei
Member
From: Japan
Registered: 2006-07-04
Posts: 15
Website

sort_by="title"

Hi Kevin,

If use "<MTEntries sort_by="title" ",
  <$MTEntryTitle$> does not work.


My Template code is
---------------------------------------------------------
<MTEntries sort_by="title" sort_order="ascend">
<h2><$MTEntryTitle$></h2>
<$MTEntryBody$>
</MTEntries>
---------------------------------------------------------

Output is not fine. MTEntryTitle was gone.
<h2></h2>
<p>++Data of EntryBody++</p>


Other case
--------------------------------------------------------
<MTEntries sort_by="text" sort_order="ascend">
<h2><$MTEntryTitle$></h2>
<$MTEntryBody$>
</MTEntries>
----------------------------------------------------------
Output is not fine. MTEntryBody was gone.
<h2>++Data of EntryTitle++</h2>


ExtraFields are no problem
--------------------------------------------------------
<ul>
<MTEntries sort_by="newfield" sort_order="ascend">
<MTExtraFields>
<MTIfExtraFields>
<MTIfExtraField field="newfield">
<li><$MTExtraFieldValue field="newfield"$></li>
</MTIfExtraFields>
</MTExtraFields>
</MTEntries>
</ul>
----------------------------------------------------------

Output is fine.
<ul>
<li>++Data of newfield++</li>
<li>++Data of newfield++</li>
<li>++Data of newfield++</li>
</ul>



Thanks,
Shisei

Offline

 

#2 2007-07-25 09:45:37

Kevin Shay
Administrator
Registered: 2005-11-22
Posts: 265
Website

Re: sort_by="title"

Hi Shisei,

I think I've found why this is happening. I'll try to get a new version up later today.

Offline

 

#3 2007-07-26 19:55:30

Shisei
Member
From: Japan
Registered: 2006-07-04
Posts: 15
Website

Re: sort_by="title"

Hi Kevin,

Thanks for your Response.
I expect new version.

Thanks,
Shisei

Offline

 

#4 2007-07-28 14:52:43

Kevin Shay
Administrator
Registered: 2005-11-22
Posts: 265
Website

Re: sort_by="title"

Sorry for the delay--I decided to go ahead and release 1.2, without another beta, but that meant I had to find time to update the documentation.

Thanks very much for all your input during the beta cycle!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson