drupal 7

Show related content based on shared reference entity

create a block view that filters for content-type-1.
add a relationship for "Entity Reference: Referenced Entity" for the entityreference field on content-type-1.
add a second relationship for "Entity Reference: Referencing entity" (note the difference from the 1st relationship) and select the 1st relationship in the drop down for this one (it won't appear if you haven't already created at least 1 relationship).
this is the 'money' step: Add a contextual filter for "Content: Nid", select the 2nd relationship then "provide default value" and "Content ID from URL".

Update Commerce Kickstart

Updating your files
If you are upgrading your site from a previous release of Commerce Kickstart (since 2.x RC1 forward), we support an upgrade path.

IMPORTANT - Drush 8.x-6.x supports an upgrade for Kickstart 2, but it is not the common "drush up" command. Use the following code snippets (and make sure to backup everything):

$ drush dl commerce_kickstart $ drush updatedb -y
Or you can follow the step by step instructions below.

Use only parent terms in view

If you want to display the top-level terms of a given vocabulary, create a "term" view ("View type: Term") with these basic settings: a field for "Taxonomy:Term", an argument for "Taxonomy: Vocabulary ID"

Then to filter:
1) add a relationship to "Taxonomy: Parent term"
2) add a filter on "Taxonomy: Term ID", using relationship "Parent", with operator set to "Is empty (NULL)"

This will list only top-level terms for the given vocabulary.

redirect https and without www

Enabling HTTP Secure (HTTPS)
Last updated 4 August 2018. Created on 11 November 2009.
Edited by John Morahan, hiten2112, marcoka, Joel MMCC. Log in to edit this page.

HTTPS is a protocol which encrypts HTTP requests and their responses. This ensures that if someone were able to compromise the network between your computer and the server you are requesting from, they would not be able to listen in or tamper with the communications.