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 functionalities (category url title)

June 24, 2007 4:32pm

Subscribe [3]
  • #1 / Jun 24, 2007 4:32pm

    i’m loving the expanded functionality around categories.  however, i’m not finding much expanded documentation around them.

    for example..  i have a site in which i have multiple category groups and entries that belong to more than 1 category in more than 1 group so i can “layer” navigation to that information based on the categories they belong to.

    i’m using category names in the url for the primary category distinction. and i have to use C{catgegory_id} in the url for the other category.  it’s complex, but was working fairly well.

    the problem i have is that i’m using unique template sections based on the primary category parent group that each entry belongs to.  (different sub-navigation on pages based on a parent category id from category group 1).

    previously, i was using php to parse the category names to remove the underscores (_) that i had added so i could have easy category name navigation in the url.

    with the new category functionality (namely category url title), i’ve been trying to remove that extra php processing.  however, i can’t seem to find out how to print the category url title on the page.

    i’m assuming that it’s similar to the weblog url title {url_title}..

    so, i’ve tried the following 3 , with no avail (knowing that i have to include the weblog name in the tag since i’m using category names in the url):

    {exp:weblog:category_heading weblog="map"}{category_url_title}{/exp:weblog:category_heading}

    {exp:weblog:category_heading weblog="map"}{cat_url_title}{/exp:weblog:category_heading}

    {exp:weblog:category_heading weblog="map"}{url_title}{/exp:weblog:category_heading}

    please tell me there is a way to print this variable on the page.  am i doing something wrong, or is this not possible?

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

ExpressionEngine News!

#eecms, #events, #releases