Skip to content

MODX Snippet returns the value of a TV, recursively returning values from parent resources when the TV is blank. Inlcudes an option for fallback resource/tv combination.

License

Notifications You must be signed in to change notification settings

DashMedia/recursive-grab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recursive-grab

Snippet returns the value of a TV, recursively returning values from parent resources when the TV is blank. Inlcudes an option for fallback document/tv combination.

Usage

[[recursiveGrab? &id=`[[+id]]` &tv=`myTv` &fallbackId=`[[++site_start]]` &fallbackTv=`fallbackTv`]]

Installation

Install via package manager within MODX

Author: Jonathan Haslett [email protected], Aayush Sapkota [email protected], Jason Carney [email protected] Copyright 2019

Official Documentation: https://github.com/DashMedia/recursive-grab

Bugs and Feature Requests: https://github.com/DashMedia/recursive-grab/issues

About

MODX Snippet returns the value of a TV, recursively returning values from parent resources when the TV is blank. Inlcudes an option for fallback resource/tv combination.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages