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.

New category url title field in 1.6

July 10, 2007 10:52pm

Subscribe [3]
  • #1 / Jul 10, 2007 10:52pm

    RobJ25

    39 posts

    Hi all,

    Has anybody been able to use the new category url_title field as a parameter in the {exp:weblog:entries} tag? I’d like to be able to pass this to a template and use it in the {exp:weblog:category_heading} and {exp:weblog:entries} tags, but neither of them seem to accept it as a parameter.

    Has anybody been able to make functional use of it? I’m sure I’m missing something obvious.

    Many thanks,
    Rob

  • #2 / Jul 11, 2007 4:45am

    silenz

    1651 posts

    Could you give an exmaple where this would be useful?

    When you call a template via a category-link the category is dynamically passed to exp:weblog:entries and exp:weblog:category_heading.

  • #3 / Jul 11, 2007 7:58am

    RobJ25

    39 posts

    That sounds like exactly what I want to do. What do you mean by a category-link? My current url is index.php/archive/category/{url_title}/

    Sorry for being obtuse about this.

  • #4 / Jul 11, 2007 8:27am

    silenz

    1651 posts

    Just to clarify, do you have set “Use Category URL Titles In Links?” set to “Yes” under CP Home ›  Admin ›  Weblog Administration ›  Global Weblog Preferences?

  • #5 / Jul 11, 2007 1:23pm

    RobJ25

    39 posts

    Ah—that’s it. I told you I was missing something obvious.

    Thank you (for your help and your patience)!
    Rob

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

ExpressionEngine News!

#eecms, #events, #releases