In Drupal, the default behaviour of entity reference fields allows us to select unpublished content if the content creator has permission to view unpublished content, which can be useful in specific scenarios where we need to establish relationships even with unpublished content.
However, in many cases, we want to refer only to published content. The problem arises when we add references during content creation without verifying whether the referenced items are published. This can lead to confusion later when we wonder why the referenced contents are not visible when viewing the content.
Here's a step-by-step guide on how to use a Drupal view to filter the values appearing in an entity reference field
Drupal
The release of Drupal 10.1 brings a range of new features and enhancements, solidifying its position as a top choice for organizations seeking a Digital Experience Platform (DXP) for their corporate websites. Drupal 10.1 is the first release after the Digital Public Good Alliance (DPGA) recognized Drupal as a Digital Public Good. As a platform trusted by entities like the United Nations, governments, and major corporations, Drupal's affordability and powerful capabilities have made it a compelling choice. In this article, we will delve into three key features of Drupal 10.1 that make it an excellent option for those looking to implement a digital experience platform for their organization.
ICFOSS and Zyxware Technologies organized the 5th season of the "Back-To-Work" program for women, with the topic being "Building digital experiences with Drupal". As part of the event, The Director of Programs at the Drupal Association, Von R. Eaton, gave a presentation covering various aspects of Drupal, Drupal.org, and the Drupal Association, followed by a question and answer session with participants. The questions addressed topics such as the cost of Drupal, the necessary skills to work in the Drupal Association, mentoring opportunities, and payment for freelancers contributing to Drupal.
Learn how The News Minute (TNM), a digital news platform based in India, has adapted to the challenges posed by digital disruption in the media industry by prioritizing community engagement and implementing a membership-based revenue model.
This article discusses 4 Drupal modules useful for implementing standard features required by public sector websites.
Learn how to improve your website's conversion rates by conducting a digital marketing experiment using Drupal and a website personalization engine.
Unleash the full potential of content creation with CKEditor 5 in Drupal 10. Streamline your workflow, enhance UX, and take your website to the next level.
Explore 7 reasons why Drupal is ideal for decoupled projects. Learn about its robust API capabilities and cost-effectiveness in this article.
entityQuery is one of the most used functions in Drupal. It helps you easily pull Drupal entities in code. But when you use this in contexts other than controllers, say in cron-jobs or update hooks where the system is accessed as anonymous users, it may not work as expected in Drupal 9 Unless you call accessCheck explicitly. This short article talks about how to use entityQuery in these contexts and write entityQuery compatible with Drupal 10.x
Want to see the result of an experiment we did on one of our high-traffic Drupal websites? Read on. This article is also a 'how-to' with an example of setup a JavaScript-based variable to track the content age group in GTM.
Integrate HubSpot forms with GA4 using our step-by-step guide. Optimize website conversion rates and improve marketing strategy with accurate tracking. Get started now!
This article illustrates how we have implemented the FAQ structured markup using Drupal's data modelling capabilities and got the result with in a few days on SERP
As part of its efforts to monitor and assess progress, the 2030 Agenda for Sustainable Development of United Nations, encourages member States to conduct regular, inclusive reviews at the national and subnational levels. These reviews, called Voluntary National Reviews (VNRs), are led and driven by the respective countries.
Check out the list of INC 5000 companies using Drupal for their websites.
Drupal is the default choice of WebCMS for many public service organizations. Here is a list of United Nations and World Bank organizations' websites built with Drupal.
A step-by-step tutorial on how to configure Lando with Drupal to use a custom domain in your local development environment.
Explore our curated list of the top 16 Drupal websites built by leading organizations. See how Drupal can help create stunning websites for any industry.
Drupal 10 is here! Here are the most frequently asked questions about Drupal 10.
Compare Drupal vs AEM vs Liferay to choose the best DXP for your organization. Our blog provides an in-depth analysis of each platform's strengths and weaknesses to help you make an informed decision.
Zyxware's point of view (POV) on the top 5 major challenges you might face during migrating to Devops Drupal Production Environment