I would like to change the behaviour of the select box for selecting Post categories within the Post Options in Silverstripe cms. Currently I can find and select the categories only if I know them beforehand. That is the when I enter a letter it starts to populate the select box with the categories that contain that letter. I would like to populate the select box with all categories by default. And still maintain multi select option. Has this option been considered yet or should I develop my custom category selector?
User firendly category selector in post options in Silverstripe cms
46 Views Asked by user805528 At
1
There are 1 best solutions below
Related Questions in SILVERSTRIPE-4
- How to make the header section Sticky of a Silverstripe GridField in the CMS
- Silverstripe FulltextSearchable use Operators
- Save a field for every SiteTree item
- Silverstripe GraphQL error after injecting the Member class and adding a custom Member class
- Permissions Errors when running dev/build
- Sliverstripe CMS populate dropdown with enum values
- Access parent object in ModelAdmin for new DataObject
- Silverstripe throwing sendmail error on ForgotPassword form and member password change
- How to use silverstripe-image-click-spots?
- Silverstripe 4.11 / use custom class / ImageShortcodeProvider
- Silverstripe 4 - exclude specific group from view
- Silverstripe override BlogController
- Silverstripe merge 2 pagetypes into alternating list
- Silverstripe CMS BlogPost - DropdownField or SingleSelectField populate from Enum field
- Silverstripe CMS: Setting custom logotype, site name and logout action in admin CMS
Related Questions in BLOG-POST
- How to change liquid code of Shopify blog post embed from H1 to blog post ID?
- How can I filter the most popular post from my Wordpress blog using the WP Rest API and Post views counter plugin?
- May I ask how can I align the excerpt and button in wordpress elementor blog grid please?
- User firendly category selector in post options in Silverstripe cms
- Add article sharing button - wordpress post grid
- Update several posts' attachment with SQL
- Users can type and edit my published post, can't figure out why
- wordpress displays all posts instead of categorised
- have_post() does return null value in wp
- wp_get_recent_posts() exclude specific post by id
- Orchard Blog Post Media Picker Image Resized
- Wordpress : Most populars posts of the Week or Month
- Wordpress force 'view post' to open in a new tab after publish
- Multiple specific POST in wordpress
- How to show the latest post (one only) on the homepage with full text, comments and all?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It sounds like you're specifically referring to the silverstripe/blog module.
The categories field is a
TagFieldfrom the silverstripe/tagfield module. In theBlogPostclass, the field is set to lazy load: https://github.com/silverstripe/silverstripe-blog/blob/0f8aefb0920812f4f9cc03bba5a0ed4b7b6df205/src/Model/BlogPost.php#L350You can override that in your project by applying an extension to
BlogPostand turn lazyloading off for that field:app/_config/extensions.yml
app/src/Extension/BlogPostExtension.php
You might want to do the same for the
Tagsfield while you're at it.