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.

is this necessary to assign the weblog to display the category name ?

August 16, 2009 5:50am

Subscribe [2]
  • #1 / Aug 16, 2009 5:50am

    netlinkblueEE

    39 posts

    Hi,

    Can any one tell me is this necessary to mention the weblog name to dispaly the category name ?

    {exp:weblog:categories category_group="2" backspace="6" style="linear"}
    
    {category_name}
    
    
    {/exp:weblog:categories}

    the above is my code this is not displaying the category list.

    thanks.

  • #2 / Aug 16, 2009 7:35am

    Mark Bowen

    12637 posts

    Hiya,

    As according to the documentation you must supply the weblog=”“ parameter if you have more than one weblog. If you only have one weblog in your system then you don’t need to supply it.

    weblog=

    weblog=“weblog_name”

    The name (short name) of the weblog that the categories are assigned to. This variable is required unless you only have a single weblog.
    You must specify this parameter if you use the category name in URL feature.

     

    Hope that helps a bit.

    Best wishes,

    Mark

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

ExpressionEngine News!

#eecms, #events, #releases