How to get CssClass or UrlCode inside a theme Hook
I want to make an RPC call from the category index page and embed some html returned from the external service. I've create a theme hook for this, so I can embed data returned from external service in certains places of the template.
In adition, I want to send a parameter in the RPC request, some data from the current category, in order to get a different response. It would be great if, in a category page, I could send the value of GDN_Category.UrlCode or GDN_Category.CssClass.
Is there any way to achieve this?
Thanks in advance.