xRS MODX extra

xRS Search debug mode

Logo ResourceSpace Logo Wordpress Logo Prestashop Logo Joomla

Show response and placeholders

The xRS debug mode allow to display ResourceSpace JSON response and placeholders.

Please note value filters are not applied here. For exemple the RS API for the field [[+iptccountry]] returns ,France (note the comma) and ResourceSpace extra filter the placeholder output to France (without the comma).

Note the [[+newimg]] placeholder allowing to display a resized image with pThumb.

Example

[[xrs?
    &action=`search`
    &search=`bercy`
    &tpl=`debug`
    &extend=`1`
    &pOptions=`w=150&h=100`
    &limit=`1`
]]

Result

Debug mode ON