Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have successfully created node programmatically using Drupal 8 Node::create and be able to select list (integer) field correctly as following, but list (text) field is not getting selected with the same process. Any help appreciated.
(Manage Fields)
LABEL MACHINE NAME FIELD TYPE
===========================
Expires (in Days) field_expires_in_days_ List (integer) -> NOT WORKING
Item Type field_item_type List (text) - Working
Allowed value list for 'field_expires_in_days_
=========
30|30
60|60
90|90
I'm building a site in D8 and my customer wants their site visitors to have access to more advanced search functions, not just a simple search field. I noticed that when I am logged-in as admin and I run a search, the results page has an Advanced Search option in an accordion panel, but it is not available to non-admin visitors. Is there a way to make the advanced search panel accessible to site visitors, not just admins?
I'm only talking about core search not some added module.
I used the Drupal 8 installer to create a new instance of Drupal 8. It should show the default content and menus using the Bartic theme at the completion of the install.
Instead, I just get un-stylized content - links, and unformatted text - no images - no styled menus, etc.
I did two "clean installs" yielding the same result. No files are missing for the install to run 8.0.2 - I verified all were uploaded to the server for the install. It goes through the 40 step install.