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.

SAEF category_menu group_id

February 11, 2012 6:51am

Subscribe [1]
  • #1 / Feb 11, 2012 6:51am

    James L

    40 posts

    Hello,

    I’m working on an old site (EE 1.7.1) and need to create a stand-alone entry form for a channel that has multiple category groups assigned to it (each with many categories).

    If I use {category_menu} the list of categories is too long and out of context as it combines all the category groups into one list. I need to be able to break this up. Can anyone help?

    Here’s the current code:

    <ol>
     {category_menu}
     <li>
      <label for="category">Category:</label>
      <select name="category[]" size="8" multiple="multiple">
       {select_options}
      </select>
     </li>
     {/category_menu}
    </ol>

    I thought I could use something like this but it doesn’t work:

    {category_menu group_id="1"}

    Any help appreciated. Thanks!

  • #2 / Feb 11, 2012 10:08am

    James L

    40 posts

    Resolved

    I found a good answer here: http://ellislab.com/forums/viewthread/97879/

  • #3 / Feb 12, 2012 9:04am

    Sean C. Smith

    3818 posts

    James,

    Glad to see you got this resolved yourself. Is there anything else I can assist you with?

    Sean

  • #4 / Feb 12, 2012 10:47am

    James L

    40 posts

    All sorted, thanks Sean!

  • #5 / Feb 13, 2012 6:21pm

    Sean C. Smith

    3818 posts

    I’m going to close out this thread, but feel free to post again when you have more questions.

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

ExpressionEngine News!

#eecms, #events, #releases