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:
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">
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:
If you change the <mt:IfCategory label="Syndications"> tag to <mt:EntryIfCategory label="Syndications">, then republish your weblog, does this issue still occur?
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:
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.
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:
Unfortunately, the <mt:IfCategory> tag currently cannot be made to behave the same as the <mt:EntryIfCategory> tag.
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.