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.

Display categories in SAEF preview

October 06, 2010 1:54pm

Subscribe [2]
  • #1 / Oct 06, 2010 1:54pm

    Sophie Dennis

    31 posts

    I’m putting together a SAEF for a new site. Is there any way to display the post’s categories within the {preview} tag?

    I have tried the {categories} variable pair as used in a channel:entries tag, e.g.:

    {categories backspace="2" show_group="1|4"}<a href="http://{path=SITE_INDEX}">{category_name}</a>; {/categories}

    but this appears to be invalid as the preview is displaying the code above.

  • #2 / Oct 07, 2010 2:06am

    John Henry Donovan

    12339 posts

    Sophie,

    The categories tag pair is not available within the preview tag unfortunately. You are welcome to make a feature request for this though

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

ExpressionEngine News!

#eecms, #events, #releases