12 dashmedia Extras

Refresh
googleMap

googleMap

Output modifier turns an address into a Google Maps static map.

recursiveGrab

recursiveGrab

Snippet returns the value of a TV, recursively returning values from…

srcset

srcset

Creates @1x and @2x images using srcset html attribute.

GetIdList

GetIdList

Snippet returns a list of resource ids. A fork of GetIds.

CloudFlare API Integration

CloudFlare API Integration

Save resource and clear MODX cache now clear CloudFlare cache.

getInputOptions

getInputOptions

Returns the input options of a MODX TV.

IO

getInputOptions

Snippet to retrieve and output input options of a MODX template variable,…

Image SEO alt and title tags

Image SEO alt and title tags

Prevent empty alt or title tags using nearest heading.

isXhr

isXhr

Returns `yes` if the html request in an xhr/AJAX request.

templateName

templateName

Returns template name for given template ID.

urlClean

urlClean

Clean badly formed URLs or turn resource IDs into URLs.

getYouTubeId

getYouTubeId

Returns the Video ID from a youtube.com or youtu.be link.