We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Specify category id in SafeCracker

Development and Programming

MaxStoun's avatar
MaxStoun
21 posts
about 15 years ago
MaxStoun's avatar MaxStoun

Good day. How to display only category 1 and 2 ?

{exp:safecracker channel="events" return="someGr/someT/URL_TITLE" url_title="{segment_3}" }
    {category_menu category="1|2"}
        <label for="categories">Categories</label> 
        <select name="category[]" id="categories" size="4" multiple="multiple">
            {select_options}
        </select> 
    {/category_menu}
{/exp:safecracker}

Thanks.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.