Squiz Matrix Asset Listing Last Position Custom Formatting
Thu, Apr. 19, 2012Have you ever had an Asset Listing and wanted to customize the layout of the very last item listed? Here is a tip that is probably hidden deep in the Squiz Matrix Manuals, but all you have to do is use -1 as the position format.
By setting -1 as the position, it creates a new Bodycopy asset that can be used to format the very last asset listed. This can be super helpful for many things such as creating valid JSON by removing th comma at the end or giving the last item a different class.
Comments