zg:zeitgeist
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
zg:zeitgeist [2007/12/22 14:45] – external edit 127.0.0.1 | zg:zeitgeist [2020/11/23 17:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Zeigeist ====== | ====== Zeigeist ====== | ||
- | |||
===== Intro ===== | ===== Intro ===== | ||
Line 7: | Line 6: | ||
* Zeitgeist is essentially fashion for ideas. See a discussion about it on [[http:// | * Zeitgeist is essentially fashion for ideas. See a discussion about it on [[http:// | ||
* Why the name ? Because when this idea was first discussed, someone on Drupal (chx, I think) said 'Oooh, a Zeitgeist', | * Why the name ? Because when this idea was first discussed, someone on Drupal (chx, I think) said 'Oooh, a Zeitgeist', | ||
- | * [[zg: | ||
===== Features ===== | ===== Features ===== | ||
- | |||
==== Current ==== | ==== Current ==== | ||
* Log searches with their timestamp | * Log searches with their timestamp | ||
- | * A themable drupal block with the ' | + | * A themable drupal block with the ' |
- | * A themable drupal block with the ' | + | * A themable drupal block with the ' |
* A page displaying the most requested searches over a given time span | * A page displaying the most requested searches over a given time span | ||
- | * 4.7 / 5.1.x compatible. | + | * 4.7.4 to 7.x compatible. |
==== Wishlist ==== | ==== Wishlist ==== | ||
Line 34: | Line 31: | ||
===== Data ===== | ===== Data ===== | ||
- | + | ||
* Table ' | * Table ' | ||
* Variables: | * Variables: | ||
Line 42: | Line 39: | ||
* zeitgeist_latest_title: | * zeitgeist_latest_title: | ||
* In zeitgeist_latest_info and zeitgeist_latest_title, | * In zeitgeist_latest_info and zeitgeist_latest_title, | ||
- | |||
===== Recurring issue ===== | ===== Recurring issue ===== | ||
- | As of 4.7.x/5.x, Drupal does not implement a standard logging API, be it for search or anything else. The net result is that code like zeitgeist.module, | + | As of 4.7.x/7.x, Drupal does not implement a standard |
- | * The core patch from which this module has been born used to parse the standard " | + | * The core patch from which this module has been born used to parse the standard " |
- | * For zeitgeist.module 1.1 to 1.6, this meant parsing both the " | + | * For zeitgeist.module |
- | * Version 1.7 only processes the "search | + | * Later versions |
- | At some point, drupal core will probably evolve to include such a logging mechanism, and zeitgeist will then be able to use it. Should the module become popular, it is also conceivable that search.module add a recording hook, independent of other recording needs. | + | At some point, drupal core will probably evolve to include such a logging mechanism, and zeitgeist will then be able to use it. Should the module become popular, it is also conceivable that search.module add a recording hook, independent of other recording needs. Things have evolved for the better in Drupal 7, where a single form implementation is used for all search forms, allowing simpler and more generic logging from the form submit handler. |
Until this happens, it could be possible to use [[http:// | Until this happens, it could be possible to use [[http:// | ||
Line 64: | Line 60: | ||
Problems: | Problems: | ||
+ | |||
* This would fail if the standard do_search did some stack checking, but the current version doesn' | * This would fail if the standard do_search did some stack checking, but the current version doesn' | ||
* This requires the experimental " | * This requires the experimental " | ||
- | |||
zg/zeitgeist.1198334746.txt.gz · Last modified: 2020/11/23 17:23 (external edit)