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.

someone explain weblog:categories

July 09, 2008 1:04pm

Subscribe [1]
  • #1 / Jul 09, 2008 1:04pm

    kriz

    231 posts

    Im following this tutorial at:

    http://www.boyink.com/splaat/comments/building-an-expressionengine-site-chapter-11/

    It says the following:

    “Because we’ve created this link within a weblog:categories tag, EE will render the link using the category keyword and the category_url_title appended on after the template name of chapter_11_product_list (ex: http://www.boyink.com/splaat/building_series/chapter_11_product_list/category/interior/).  (Note - that this assumes that, under Admin > Weblog Administration > Global Weblog Preferences you have EE configured to use category_url_titles instead of category ID’s).”

    Does this mean for every anchor element inside weblog:categories, it appends the category_url_title at the end of the anchor value?

  • #2 / Jul 09, 2008 5:20pm

    ak4mc

    429 posts

    If by “anchor value” you mean the part after the pound sign (#) in the <a> tag, no—that part comes after all URL segments that EE processes.

    Otherwise, yes—I believe the last two segments of the URL in question will include the category keyword (usually “categories”) and the URL-title name of the category, respectively. That’s how it works on my site.

  • #3 / Jul 09, 2008 7:05pm

    kriz

    231 posts

    If by “anchor value” you mean the part after the pound sign (#) in the <a> tag, no—that part comes after all URL segments that EE processes.

    Otherwise, yes—I believe the last two segments of the URL in question will include the category keyword (usually “categories”) and the URL-title name of the category, respectively. That’s how it works on my site.

    Thanks, I think that clarified it a bit. What I meant, actually, was the href attribute value in the anchor element (i.e. <a href=“value_here/somethin/”> )

  • #4 / Jul 09, 2008 11:34pm

    ak4mc

    429 posts

    Yeah, I tend to forget that the “a” in the <a> tag stands for “anchor.” I always just think of it as “link code.”  :red:

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

ExpressionEngine News!

#eecms, #events, #releases