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.

category_heading from category_url_title

October 01, 2008 9:01am

Subscribe [1]
  • #1 / Oct 01, 2008 9:01am

    frenzal

    136 posts

    I’m using {exp:weblog:category_heading} to display the category name on a page, but I’m also using category url titles in my links, in the global weblog configuration I turned on “Use Category URL Titles In Links?”.

    If i go to:
    site.com/page/cat_url_title - my heading doesn’t show

    but

    site.com/page/C1 - heading works as expected

    Doesn’t the category_heading tag support category url-titles? Or how do I get it to work?

  • #2 / Oct 01, 2008 9:16am

    Ingmar

    29245 posts

    To use category url titles, you need a trigger word, by default “category”. Try this:

    <a href="http://example.com/page/category/cat_url_title">http://example.com/page/category/cat_url_title</a>
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases