Display different banner or image according to a pages category
We would like to display a different header image in different parts of a site. This could either be from a different image or banner link in the tiki-top_bar.tpl We have experimented with an If statement which determines the correct image to be displayed according to the category assigned to each page. We haven't been able to find the correct syntax to do this. Can someone please let us know the syntax for querying a pages category or let us know if there is a better way of achieving the same result. We are using v1.9.7