ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Using {category_name} on a permalink page?

June 17, 2011 9:16am

Subscribe [1]
  • #1 / Jun 17, 2011 9:16am

    Jay24888

    62 posts

    Hi,
    Just wondering a very simple issue i’m having. I have a category which links to a “view” page via a {title_permalink='product/view'} code. On this page, I am creating a link saying - Back to Toys. How do I create it to use the category?

    For example, I would’ve thought this code would work:

    {exp:channel:category_heading channel="project"}
    <a href="#"> Back to {category_name}</a>
    {/exp:channel:category_heading}

    But it doesn’t as expression engine doesn’t know which category that is in. I tried related_categories_mode but nothing…

    Any ideas? I know this is a simple fix, i’m just not used to using categories.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases