Drupal 7 Views'te İçerik Tekrarını Önlemek (Drupal 7 views: how to remove duplicates)

-A A +A

Blog Kategori: 

Drupal 7 Views'te İçerik Tekrarını Önlemek için aşağıdaki yöntemlerden uygun olanı deneyebilirsiniz. Kaynak: https://www.drupal.org/forum/support/post-installation/2012-07-30/solved...

Using aggregation:
1. Go and edit your view.
2. Advanced >> OTHER >> Use aggregation and chenge it to "Yes".
3. In FIELDS or FILTER CRITERIA section, select and apply Aggregation settings for which fields you want to group by or distinct.

Using Query Settings
1. Go and edit your view.
2. Advanced >> OTHER >> Query settings - Check Distinct checkbox and if necessary Pure Distinct too.
3. As described, this settings will hamper your site's performance and cannot guarantee it will work all the time.

Using "views_distinct" module (my personal best)
1. Download and install/enable this module.
2. Select/click any field where distinct should be set.
3. Expand 'VIEWS DISTINCT SETTINGS", under Filter/Aggregate this field select Filter Repeats or Aggregate Repeats
4. Disadvanges - this is not exportable in feature. So views_ui needs to be enabled in production which is not recommended.

Sosyal Medyada Bizi Takip Edin

Günlükler

Zircon - This is a contributing Drupal Theme
Design by WeebPal.