Content Editing Enhancements using Paragraphs

These tutorials are meant to enhance the experience for Drupal content editor.

Labeling Paragraphs

This will help content editor identify Paragraphs when creating content with (a lot) of different Paragraphs.

Example

Paragraphs labels example
Note the 'Label: description' at each Paragraph.

How to start with Paragraphs for Drupal 7

Beginners guide for setting up Paragraphs module with Drupal 7.

Modules

Download and enable these modules:

Use Case: Curated Crumbs breadcrumb based on an Entity Reference parent and a custom breadcrumb title

In some cases, a content editor might want tight control over the breadcrumb that shows up on each page of the site while still maintaining consistency across the site. There are lots of different breadcrumb modules, but this how-to will go over creating a curated breadcrumb using Crumbs, Entity Reference, and a custom text field.

Modules

  1. Install Crumbs 7.x-2.0-dev (this branch has caching)
  2. Install Entity Reference

Content

  1. Add an Entity Reference field to all content types called Breadcrumb Parent (field_breadcrumb_parent)
    This field should be single-value, otherwise it won't work!
  2. Add a text field to all content types called Breadcrumb Title (field_breadcrumb_title)
  3. Add some content and set the Breadcrumb Parent and Breadcrumb Title so that some nodes are in a hierarchy

Configure Crumbs plugins

  1. Go to the main crumbs admin page: admin/structure/crumbs
  2. Drag two items from the Inherit / automatic section into the Enabled section:
    • text.field_breadcrumb_title.*
    • entityreference.field_breadcrumb_parent.*
  3. If you don't see your plugin, try clearing your cache
  4. Save the configuration

Before You Begin Theming

Omega is created to be a robust and extensive base theme. It can be as much or as little as you want it to be. In order to get the most out of it there are some basic setup steps we recommend you take. These are just recommendations however, Omega will work right out of the box without any modification to your system.

Common Questions

This page is a list of commonly asked questions and their corresponding answers.

How do I add a new zone or region to my subtheme?

  1. Locate an existing zone/region in your subtheme's .info file (e.g) regions[header_first] = 'Header First' or zones[header] = 'Header'
  2. Copy & Paste it anywhere in your subtheme's .info file
  3. Rename the new line as appropriate for your scenario (e.g) regions[header_second] = 'Header Second' or zones[headerXYZ] = 'Header XYZ'
  4. Save your changes
  5. Clear cache
  6. Navigate to your subtheme's Zone & Region Configuration settings
  7. Locate your new zone or region in the "unassigned zones/regions" area at the bottom of the page
  8. Assign as desired

What does Weight & Position do?
* Weight = the position of the region in the markup
* Position = the visual positioning of a region

My content region isn't expanding, please help!
TURN OFF DEBUGGING BLOCKS also see http://drupal.org/node/1298690

How to override default hover color style from tables?
Apply the below code to your global.css:
tr:hover td, tr.even:hover td.active, tr.odd:hover td.active { background: #FFFEEE; }

How do I add a custom .js file to my Omega subtheme?

Quick install with FTP

The following is a simplified guide to create a Drupal site in a few easy steps. You can read a more detailed version of these instructions, or check out the installation troubleshooting guide if you need some additional tips.

To follow these steps, you will need an SFTP client such as, WinSCP or FileZilla, and a web server that meets some basic requirements (e.g. a web server such as Apache, a database such as MySQL, and PHP). We'll begin with the steps for a Drupal 7 install, followed by Drupal 6 (they are very similar).

Drupal 7

Step 1: Download, Extract, and Upload

  • Download the latest version of Drupal 7.
  • You will get a file called drupal-7.x.tar.gz. Extract the compressed files.
  • Log into your server using your SFTP client and navigate to the web root directory. Upload all of the files inside your Drupal folder into the web root folder on your server.

Step 2: Create a database

Pages

Subscribe with RSS Subscribe to RSS - how-to