Help - Search - Members - Calendar
Full Version: Compare Plugin
Movable Type Community Forum > Additional Resources > Tips and Tricks
rortelli
Hi all,

I've installed and tried the Compare Plugin but something goes wrong.

I'd like to show all the entries of one category excepted the entry displayed on the individual entry archive.

Using this code seems not to work:

CODE
<MTIfNotEqual a="[MTEntry category="services"]" b="[MTEntryID]" >
<MTEntries>
    <$MTEntryTitle$>
</MTEntries>
</MTIfNotEqual>


Any ideas?

ps: on the forum and in the MT documentation I ve not found other solutions for my problem (there is also the SQL plugin but I've not tried it)
kadyellebee
I'm not 100% sure I know what you are trying to do... do you always want the entries in the services category to be displayed, or should it be conditional based on which category the Individual Archive is assigned to?

On the Individual Archive template, the MTEntries container isn't gonna work as expected. You also are trying to use MTEntry, and I'm not sure if you meant MTEntries for the container name?

You might check out the Related Entries plugin -- I'm pretty sure that won't show the current entry in the list.

If none of these ideas help, is PHP an option? That would be another way to do it.

Kristine
rortelli
Hello kadyellebee,

QUOTE
I'm not 100% sure I know what you are trying to do... do you always want the entries in the services category to be displayed, or should it be conditional based on which category the Individual Archive is assigned to?


I have a category named services in which I have 5 entries:
  • entry 1
  • entry 2
  • entry 3
  • entry 4
  • entry 5

When I display all the data of entry 3 (individual entry archive) I would like to also show only the title of the other 4 entries (and entry 3 has not to be shown).
rortelli
Great, the Related Entries plugin works fine for me wink.gif

Thanks kadyellebee
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-2009 Invision Power Services, Inc.