I’m having an issue in with URL’s wrapped around category tags.
I basically want the URL to altar depending on the category ID, and not include the category ID at the end, or to be affected by the category at all.
It’s probably worth noting that this is also inside of a P&T Matrix.
{multi_news_body}
{categories show_empty="no" show_group="1" limit="1"}
{if category_id == "39"}
<h2><a href="http://{path=portfolio/view/{url_title}/{row_id}}">{title}</a></h2>
<p>{/if}<br />
{if category_id == "41"}</p><h2><a href="http://{path=news/view/{url_title}/{row_id}}">{title}</a></h2>
<p>{/if}<br />
{/categories}<br />
{/multi_news_body}At the moment it forces a C39 at the end of the URL and also stops the variables for the Matrix running.
Any help would be greatly appreciated.
Thanks,
Jack.