MODX EXTRA

UltimateParent

Creator: Shaun McCormick (splittingred)
Updated By: sottwell

1.2.0 (1 KB) Other Versions Need help installing this extra?

About UltimateParent

Return the "ultimate" parent of a document.

Information

Released
September 17, 2006
Supported Versions
2.0 – Current
Supported Database
MySQL
Downloads
42,486
License
Public Domain

Instructions

Copy the text of UltimateParent to a new snippet. Call the snippet with or without the optional arguments:

[[UltimateParent? &id=45 &top=6]]

will return the ultimate parent of document 45, below document 6.

Updates

2006-09-17: Fixed bug where the getParent() query would try and use an Array (the entire result row from getParent) instead of the single id column value.

More

New in UltimateParent 1.2-

There are no release notes for this version.

More

Current Releases

2.0.0-pl
October 6, 2010
2.0 – Current
1.3.0
May 19, 2007
2.0 – Current
1.2.0
September 17, 2006
2.0 – Current
1.1.0
July 2, 2006
2.0 – Current
More
View Deprecated Releases

More from Shaun McCormick

Ga

Gallery

Manage Galleries in MODX

Lo

Login

Login and Registrations

SS

SimpleSearch

A simple search solution for MODX Revolution.Upgrade risksFirst of…

Ra

Rampart

Rampart is a robust anti-spam tool for MODX Revolution. It can be…