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?

  • I don't know how. Maybe drush up -y helps me. But now i can select Rendered Entity. – Niklan Jul 30 '15 at 13:48
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

  • 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 Jul 30 '15 at 8:45
  • @Niklan you want to create searching API using view – Adi Jul 30 '15 at 12:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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