getRelated Icon

getRelated

By Mark Hamstra (markh)

getRelated first screenshot

getRelated is a snippet for MODX Revolution that automatically finds related pages based on fields you specify.

As of version 1.1.0 getRelated is only for MODX 2.1 and up.

Mark Hamstra


New in getRelated 1.2.0

1.2.0-pl

  • [#4] Add &stopwords property to exclude stopwords on a snippet-call basis
  • [#6] Properly support multiple (different) snippet calls per page.
  • Get rid of the rank (amount of points) in the default tplRow chunk.
  • Added support for Russian. Thanks createit!

1.1.2-pl

  • Fix including deleted resources by adding an &includeDeleted property defaulting to false.
  • Add &hideContainers property to allow filtering out of containers
  • Fix E_NOTICE errors in calculating the scores.

1.1.1-pl

  • Fix issue with &parents property which would skip direct descendants
  • Prevent implode error message (and possible failure) if only one resource field was chosen.

1.1.0-pl

  • Add new exclude property to exclude specific resources from the output.
  • Add new returnTVs property to include TV values in the snippet output. 

1.0.2-pl(2)

  • Fix bug which would include all resources if no resource field was selected in the &fields property
  • Fix bug which prevented filtering out the current resource properly.
  • Make sure debug data is spit out in a meaningful way that can actually help debugging.
  • Make sure data is checked in a case insensitive way.
  • Fix ignoreHidden and ignoreUnpublished properties.

1.0.1-pl2:

  • Fix bug where tpl files are chosen over actual chunks.

1.0.1-pl:

  • Fix bug when using &parents and TVs in the &fields property. (Thanks Anselm Hannemann!)
  • Move custom sort function to inside the class for tidyness. (Thanks Mark Ernst!)

1.0.0-pl:

  • Initial release

More

Information

Released
October 13, 2011
Supported Versions
2.1 – Current
Downloads
7,203
License
GPLv2

More from Mark Hamstra

SiteDashClient

Powerful MODX monitoring and remote management.

View
VersionX

VersionX is a utility tool for MODX Revolution that will help you…

View
ClientConfig

ClientConfig gives your client a user-friendly interface for making…

View
ContextRouter

ContextRouter is a simple plug-and-play plugin allowing you to use…

View