Having a strange issue with grid, categories and relationships. On my site i have a channel with products and services. On the services pages i need my client to be able to select related products to be shown, so i used a grid field with relationships to products. The products are categorised, so i want to see the category_url_title in the url.

I checked this thread and followed that approach however i'm not getting this to output anything. (http://www.site.com/producten//systeemoefeningen/ for what should be http://www.site.com/producten/oefenen/systeemoefeningen/)

  <li><a href="/producten/category/

I know i can do this with an embed too, however i'm trying to avoid them as much as possible.

  • 2
    Try taking the prefix off of the {category_url_title} variable, like this: {services_grid_products:product:categories}{category_url_title}{/services_grid_products:product:categories}
    – Kevin Cupp
    Feb 21, 2014 at 22:38

1 Answer 1


edited version (and just saw that Kevin Cupp beat me to it!): Just tested this and only needed to use {category_url_title}.

So try:

  • nope... doesn't work Feb 21, 2014 at 22:16
  • See edited version. Feb 21, 2014 at 23:04
  • I wish it was that easy... doesn't return anything... Feb 22, 2014 at 12:25
  • Oh Bollocks.. content editors removed the categories... you guys were right thanks! Mar 10, 2014 at 13:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.