Seems like this could make a good context module plugin where if the user came from a search engine you could react with a special block.
Seems like this could make a good context module plugin where if the user came from a search engine you could react with a special block.
Comments
Comment #1
yaph commentedI don't know how the context module works, but a plugin for the context module sounds like a feature request for the context project.
Comment #2
ClearXS commentedhttp://drupal.org/project/context
http://drupal.org/project/rules
and then there are some block and several (mini)panels modules...
Comment #3
deverman commentedI think the context project has made it quite open to other modules to support the context module and i don't think they are going to go about supporting every module. I think the context module is something on the level of mollom where all the module maintainers need to support it themselves. There should be many examples of support by now. Look for the context extras module too.
Comment #4
deverman commentedI think a module has been made to do what we have been asking here:
http://drupal.org/project/context_keywords
Comment #5
fgmNot really: in its current state, context_keywords only contains a condition plugin, which triggers on admin-defined positive or negative patterns. It does not expose the per-search-engine parsed and sanitized query for further use in blocks, for instance.
Comment #6
trrroy commentedThis module provides the basic API functionality to accomplish what you're asking but is out of the intended scope of this module.