added join to bricolage table to grab bricolage_template feild intead of nid for url