Skip to main content
replaced http://drupal.stackexchange.com/ with https://drupal.stackexchange.com/
Source Link

In my case, I use Drupal Commerce (Kickstart 2x distribution) with a images field (multiples/unlimited values).

I need to display all images of parent product AND images of their childrens (variations).

Another case are to display images of a field but if empty, I want to display images of another images field.

What's the good way for this?

  1. Relation module
  2. hook_field_load()
  3. hook_query_alter()
  4. hook_node_load()
  5. hook_load()

Related questions:

How to create a single slideshow combining several image fields?How to create a single slideshow combining several image fields?

In my case, I use Drupal Commerce (Kickstart 2x distribution) with a images field (multiples/unlimited values).

I need to display all images of parent product AND images of their childrens (variations).

Another case are to display images of a field but if empty, I want to display images of another images field.

What's the good way for this?

  1. Relation module
  2. hook_field_load()
  3. hook_query_alter()
  4. hook_node_load()
  5. hook_load()

Related questions:

How to create a single slideshow combining several image fields?

In my case, I use Drupal Commerce (Kickstart 2x distribution) with a images field (multiples/unlimited values).

I need to display all images of parent product AND images of their childrens (variations).

Another case are to display images of a field but if empty, I want to display images of another images field.

What's the good way for this?

  1. Relation module
  2. hook_field_load()
  3. hook_query_alter()
  4. hook_node_load()
  5. hook_load()

Related questions:

How to create a single slideshow combining several image fields?

deleted 92 characters in body
Source Link
David DIVERRES
  • 764
  • 2
  • 6
  • 15

In my case, I use Drupal Commerce (Kickstart 2x distribution) with a images field (multiples/unlimited values).

I need to display all images of parent product AND images of their childrens (variations).

Another case are to display images of a field but if empty, I want to display images of another images field.

What's the good way for this?

  1. Relation module
  2. hook_field_load()?
  3. Relation module? hook_query_alter()
  4. hook_query_alterhook_node_load()?
  5. hook_load()

Related questions:

How to create a single slideshow combining several image fields?

How to programmatically add / remove a value for an unlimited multivalue field?

In my case, I use Drupal Commerce (Kickstart 2x distribution) with a images field (multiples/unlimited values).

I need to display all images of parent product AND images of their childrens (variations).

Another case are to display images of a field but if empty, I want to display images of another images field.

What's the good way for this?

  1. hook_field_load()?
  2. Relation module?
  3. hook_query_alter()?

Related questions:

How to create a single slideshow combining several image fields?

How to programmatically add / remove a value for an unlimited multivalue field?

In my case, I use Drupal Commerce (Kickstart 2x distribution) with a images field (multiples/unlimited values).

I need to display all images of parent product AND images of their childrens (variations).

Another case are to display images of a field but if empty, I want to display images of another images field.

What's the good way for this?

  1. Relation module
  2. hook_field_load()
  3. hook_query_alter()
  4. hook_node_load()
  5. hook_load()

Related questions:

How to create a single slideshow combining several image fields?

added 135 characters in body
Source Link
David DIVERRES
  • 764
  • 2
  • 6
  • 15

In my case, I use Drupal Commerce (Kickstart 2x distribution) with a images field (multiples/unlimited values).

I need to display all images of parent product AND images of their childrens (variations).

Another case are to display images of a field but if empty, I want to display images of another images field.

What's the good way for this?

  1. hook_field_load()?
  2. Relation module?
  3. hook_query_alter()?
 

Related questionquestions: How to create a single slideshow combining several image fields?

How to create a single slideshow combining several image fields?

How to programmatically add / remove a value for an unlimited multivalue field?

In my case, I use Drupal Commerce (Kickstart 2x distribution) with a images field (multiples/unlimited values).

I need to display all images of parent product AND images of their childrens (variations).

Another case are to display images of a field but if empty, I want to display images of another images field.

What's the good way for this?

  1. hook_field_load()?
  2. Relation module?
  3. hook_query_alter()?

Related question: How to create a single slideshow combining several image fields?

In my case, I use Drupal Commerce (Kickstart 2x distribution) with a images field (multiples/unlimited values).

I need to display all images of parent product AND images of their childrens (variations).

Another case are to display images of a field but if empty, I want to display images of another images field.

What's the good way for this?

  1. hook_field_load()?
  2. Relation module?
  3. hook_query_alter()?
 

Related questions:

How to create a single slideshow combining several image fields?

How to programmatically add / remove a value for an unlimited multivalue field?

Add related question.
Source Link
David DIVERRES
  • 764
  • 2
  • 6
  • 15
Loading
Add related question.
Source Link
David DIVERRES
  • 764
  • 2
  • 6
  • 15
Loading
Tweeted twitter.com/#!/StackDrupal/status/529686794036461568
Source Link
David DIVERRES
  • 764
  • 2
  • 6
  • 15
Loading