Output slug for an object

To output the Supermodel slug for any slugged object, you can use the following syntax:

${object:slug(object)}

Where the object in parenthesis is the object you wish to obtain the slug for.

If you find it’s not working, check that the following line exists in globals.jspf:

<%@ taglib prefix="object" uri="http://www.supermodel.co.nz/tld/object" %>