I have a site that has been coded previously by a developer who has used alot of custom PHP rather than EE code which I am trying to work my way through.
What I am trying to achieve is the category filter at top of page.
http://cyclingresourcecentre.org.au.tmp.anchor.net.au/page/bicycle_and_public_transport
Looks great but it has been built with a huge amount of custom php located here.
http://www.thosedigitalthoughts.com/code-old.txt
Here is what I have tried to put together but it isnt working :(
http://www.thosedigitalthoughts.com/code-new.txt
I am trying to get categories from a group with an id of 4. It seems it is just listing all categories multiple times that have been assigned to each post.
Basically there is a relationship between page channel and post channel.
The post channel has categories assigned to it from a category group with an id of 4.
The page retrieves is a filter/holder of posts that have been assigned to it. I need to list the categories used in posts as as filter as is the case in link above.
Help greatly appreciated. I am using EE 2.1.0