Should you be a Site Builder?
Let's look at a scenario. You've been working on your site for a month or two now, and you feel like you've mastered the basics—all the topics in the Training > For everyone and > For managers sections are familiar to you. Now, you find yourself looking critically at your site and thinking, "I feel like I should be able to do more with this."
How you define more is the beginning of the discussion of whether or not you should consider becoming a Site Builder.
Managing Risk
Subtheming Starter Kit
Join the Site Builder Test Group
Once your subtheme is in place, consider joining the Site Builder Test Group to gain access to the SiteFarm test area. Prior to launching upgrades, patches, and new releases, you can test your subtheme to make sure it still looks and functions the way you expect.
Complete the Site Builder Test Group application to request access
- Request builder level access to Site Factory
- Unfamiliar with Site Factory? Read up on the Site Factory features in the Manager's Training section
- Introduction to the Development Workflow and necessary software components for subtheming
- SiteFarm Local Development and Subtheming
- Review the file/folders in the Starter Kit on Bitbucket
- Acquia documentation: Adding external themes to your site
- If you're using GitHub to host your theme, and your repository is Private, note that you cannot add the SSH key to your repository. Instead, you'll have to grant the GitHub user: "ietwebdev" read access to your repository. This user has the SSH public key and Site Factory will then be able to access the theme.
- Theming with Drupal | Drupal.org
- Core Version Requirements Info
- October 2018 Web Workers Meeting Sub-theming Presentation
- Update your subtheme to use Vite instead of Snowpack
Developer Questions Answered
Explore our collection of questions posed by our clients learning to develop custom elements in their sites and the answers provided by our SiteFarm team.
Views
- A Totally Beginner Tutorial to Views | Acquia
- Getting Started with Views | WebWash
- Introduction to Views | OSTraining
- Overview of the Views User Interface | Drupalize.me
- Creating a Basic View in your Site
- How to use Relationships in Drupal 8 | OSTraining
- Show related content with relationships in Drupal 8 views | wishdesk
- View Data Export
- Adding a RSS feed to your custom content type by Carson Black / video
- Adding Custom Breadcrumb Path to Custom and Cloned Views by Anthony Horn
- Exercise to try: "Add Custom Tab to User Profile Page with Views in Drupal 8"
- Enable a Glossary of Terms View
- Replace Image Fields with Media Fields in Views by Carson Black / video
Content Types
- Permissions Panel - allowing roles to access your custom content types
- Concept: Content Entities and Fields | Drupal.org
- Adding a Content Type | Drupal.org
- Deleting a Content Type | Drupal.org
- Adding basic fields to a Content Type | Drupal.org
- Concept: Reference Fields | Drupal.org
- Adding the Content Audit Field to Your Custom Content Type - by Carson Black
- Include AddThis social share to custom content types
- Geolocations - Google Maps web service | SiteFarm
Recipes
- LAYOUT BUILDER
- Layout Builder template suggestion feature for basic blocks
- CUSTOM VIEWS (Take in the View series)
- CUSTOM BLOCKS (Building Blocks series)
- SUBTHEMING RECIPES - Full Vimeo Channel
- PDB Vue.js - by Mark Miller
Learn how to use Vue.js by creating a Progressively Decoupled Block in your subtheme.
- Documentation
- CLI Plugin - Extend Twig Templates - by Mark Miller
Override templates provided by the sitefarm_one theme. - PreProcess Teaser Links - by Mark Miller
Hijack data before it is sent to a Twig template. This recipe will look for a link at the top of an article and use it to replace the normal link to content on the teaser display. Learn how preprocessing works in Drupal and how you can manipulate data before it is sent to a template. - PreProcess Menu Parent Link - by Mark Miller
Make a menu block's title link to the parent menu item or to the Home page if none is found. This recipe will show how to preprocess a Drupal block from within a subtheme and use Drupal Core Services to fetch information not normally available in the preprocess function. - Block Style Plugin custom class - by Mark Miller
Use Block Style Plugins to add form elements to blocks for editors to configure pre-made styles. In this tutorial, we will use it to create a text field where an editor can add a CSS class. This class will automatically be applied to the block. - Form Alter Event Filter - by Mark Miller
Alter forms before they are rendered as HTML with hook_form_alter(). This video will show how to change the label of the events filter form. Form alters are a powerful way to control how forms appear.
- PDB Vue.js - by Mark Miller
- JSON API
- Please note we do not provide support for JSON API. If you require assistance with your project, contact us for a recharge contract.
- Using JSON API with SiteFarm - by Carson Black
- SiteFarm: Hidden To Anon But Not JSON - by Carson Black
- Drupal.org JSON:API Documentation
Vue.js and Decoupled Blocks
- Intro to Vue.js
- Vue Essentials Cheat Sheet
- Mark Miller's VueJs and Progressively Decoupled Blocks presentation (including video and presentation slides)
- PDB Vue.js
Learn how to use Vue.js by creating a Progressively Decoupled Block in your subtheme.
- PDB Vue.js