I have a custom category field with short name access_path added to all categories on the site. When I attempt to reference that variable from within search results, nothing shows up.
In other words, all categories I have defined - top level and sub-categories - have a custom category field with a short name access_path. That variable holds the URL routing for that category (the routing varies depending on the section of the site; in some cases I want the article to reference the parent category in the search results, yet in other cases I want both the parent and sub-category to be part of the path).
On my search result page the following does not produce anything:
{exp:search:search_results switch="resultRowOne|resultRowTwo"}
{categories}{access_path}{/categories}
{/exp:search:search_results}Why? All default (non-custom) category, search result, and weblog parameters work.
Thanks!
[Mod Edit: Moved to the Technical Support forum]