The IDX block can be added to almost Amy page to provide a way to filter and search for properties. This can used to add a MLS wide search to or to configured to premiered search criteria. A popular example is for use on a Neighborhood pages.
DX blocks should only be used as the very last block on the page. Not even footers should be used after an IDX block, this will cause issues with the page and will not work properly.