search
Last updated Apr 6th, 2019 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn moreWhat is search?¶
This snippet displays the selected album information and the album items.
Usage¶
Example for search:
[[!search]]
You can also specify the templates:
[[!search? &tplContainer=`search.container` &tplAlbumList=`users.gallery.albumlist`]]
See the snippet properties for more options.
Properties¶
Name | Description | Default | Version |
---|---|---|---|
tplContainer | The container to use to hold the search results. | search.container | >0.0.1 |
tplAlbumList | The list of albums to display in the tplContainer template. | users.gallery.albumlist | >0.0.1 |
loadjquery | This option will load the jquery version installed with sekUserGalleries. The value of 1 or 0 will override the sekusergalleries.load_jquery system setting. | load_jquery system setting | >0.0.3 |
customcss | To use a css file other than what comes with sekUserGalleries, enter the path to the css file in relation to the modx assets folder (ie "sitefolder/assets/css/custom.css" should be entered like "&customcss=css/custom.css "). |
>0.0.3 |