Views 3

Linktipp: Drupal 7 Views 3: Search in nodes via Search API with node as base table (does not seem possible)

Note to myself: If you used the search.module (Core) before and switch to Search API, there seems to be no valid replacement for Views search fields if using "node" as base table.

You have to use the search api tables as base table like documented in the linked document below.

Please tell me, if there is an other solution. Converting all views is simply too big.

Drupal 7 Views (3) add AJAXified RESET button for views exposed filters

Drupal 7 Views (3) provides great functionality. However the optionally provided "Reset" button for exposed filters does not work nice with AJAX.
If it is clicked it:

  • Does not fire via AJAX but loads a whole new page
  • Has a problem with the URL (see https://www.drupal.org/node/1109980) and so redirects the user to the front page in most cases.

Drupal 7 + Views 3 + hook_views_data + Date field (Filter / Sortierung / Handler)

Drupal 7 custom date field filter handlers

Drupal 7 Views (3) und Datums-Felder hassen sich! Das Gefühl werde ich einfach nicht los... besonders schlimm ist es anscheinend mit der Dokumentation dieser Kombination. Aber gehen wir ins Detail... und kommen zur Lösung!

Howto Drupal 7 Views 3 add class attribute to tables in views table format

Sometimes you wish to have a class to identify views tables. But currently views does not provide such a class attribute in the <table> element.

So there's an issue about that in https://drupal.org/node/1689472.

In #20 cybercampbell mentions a workaround solution until it is clear, if this will be solved in views too. I think it is worth mentioning it as a snippet:

  1.  

Drupal views block CSS Klassen (classes) unlesbar? Ein Hinweis!

Vor einiger Zeit hatte ich das Problem, dass die Klassen in einem Views-Block sehr unleserlich (eine buchstaben-zahlen-Kombination) waren und sich auch nicht sauber korrigieren ließen.

Einordnung:

Linktipp: Drupal 7 Views: Views Combine Filter zur feldübergreifenden Suche

Sven Culley hat unter der unten angebenenen URL eine schöne kurze Information zu den neuen Views Filtern: "Global: Combine fields filter" erstellt.

Mit dem neuen Feature kann eine Sucheingabe über mehrere zu durchsuchende Felder hinweg Ergebnisse liefern. Ein Blick lohnt sich!