Display a list of categories excluding the current one In a template for a category page, I'm trying to output a list of links through to all categories within a category group but exclude the category that the user is on.

Does that make sense? What I'm trying doesn't work, but I'm new to Craft and Twig!
With a little help I got there:

{% set categories = craft.categories.group('developmentType').id('not ' ~ category.id) %}
&lt;ul&gt;
{% for category in categories %}
    &lt;li&gt;&lt;a href="{{ category.url }}" class="btn"&gt;{{ category }} Opportunities&lt;/a&gt;&lt;/li&gt;
{% endfor %}
&lt;/ul&gt;