Movable Type mt:IfCategory Broken

In what is becoming a common theme, we’ve discovered that the mt:IfCategory tag that is supposed to replace the deprecated mt:EntryIfCategory cannot function in the same way as revealed to us by support:


Ticket Transcript:

On February 20, 2009 05:56 PM, you () said:

I'm unable to get mt:IfCategory to match either the name or label of a category assigned to an entry when it is within the context of the mt:Entries tag:

<mt:Entries category="NOT Events" lastn="7">
...
<mt:IfCategory label="Syndications">
...
</mt:IfCategory>
...
</mt:Entries>

Any article assigned to the subcategory "syndications" does not enter the IfCategory. The documentation seem to indicate that this should work. http://www.movabletype.org/documentation/appendices/tags/ifcategory.html

On February 20, 2009 07:11 PM, Movable Type Customer Support said:

Hi -

If you change the <mt:IfCategory label="Syndications"> tag to <mt:EntryIfCategory label="Syndications">, then republish your weblog, does this issue still occur?

Regards,

David Phillips
Technical Services

On February 20, 2009 07:30 PM, you () said:

Changing the tag to the deprecated mt:EntryIfCategory causes it to work as expected.

We are currently employing a much longer workaround using supported tags. I'm not sure if we are missing something as far as the mt:IfCategory, or if its just broken.

On February 20, 2009 08:43 PM, Movable Type Customer Support said:

Hi -

It may be that the MTEntryIfCategory is indeed intended to be deprecated in favor of the MTIfCategory tag (as indicated in our documentation), but I have examined both the static publishing (perl) and dynamic publishing (PHP) code for these template tags, and these tags currently do not behave identically in a template.

Regards,

David Phillips
Technical Services

On February 20, 2009 08:50 PM, you () said:

I can only assume that you tried diligently to not answer my question. I had asked if we missed something in our implementation or if the new tag is broken. The documentation does not state explicitly how to make it work.

How do I make the mt:IfCategory tag function like the superseded mt:EntryIfCategory, and why is this absent from the documentation?

On February 20, 2009 09:35 PM, Movable Type Customer Support said:

Hi -

Unfortunately, the <mt:IfCategory> tag currently cannot be made to behave the same as the <mt:EntryIfCategory> tag.

Regards,

David Phillips
Technical Services

On February 20, 2009 09:39 PM, you () said:

So in short, it's broken, the documentation is incorrect, and we should have thought more carefully before paying for a license.

Thanks.

Comments are closed.