2

I have Search API users index. I am trying to show them in views with my display mode (for example 'teaser') created by Display Suite.

But I only can show fields. For default user view I can show all modes: fields, display suite, rendered entity and so on.

How I can show them via rendered entity?

1
  • I don't know how. Maybe drush up -y helps me. But now i can select Rendered Entity.
    – Niklan
    Commented Jul 30, 2015 at 13:48

2 Answers 2

3

This worked for me:

  1. Clear the site's cache (drush cc all)
  2. Re-index the search api index that powers the view
  3. Refresh the view edit page

After that you should see the "Rendered entity" option appear with your view modes as options.

0

Check out this View php

put custom code in it and fetch data from database using predefined variables in it

2
  • I need only display mode, which is standart for views. Views PHP is not good solution. In this way better not use views and create page programmatically with search API and display in mode which i need.
    – Niklan
    Commented Jul 30, 2015 at 8:45
  • @Niklan you want to create searching API using view Commented Jul 30, 2015 at 12:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.