You are here

README.txt in Context Keywords 6

Same filename and directory in other branches
  1. 7 README.txt
CONTENTS OF THIS FILE
---------------------
* Introduction
* Requirements
* Installation
* Configuration
* Tips & Tricks
* Debugging


INTRODUCTION
------------
Current Maintainer: mikegfx <mikegfx@gmail.com>

Context Keywords is a add-on for the Context module that allows Contexts to be 
triggered by the keywords a user searched upon landing on your site.  The keywords 
are stored throughout the session allowing the condition to be activated until 
the session is ended.


Requirements
------------
- Drupal 6.x

- Context 3.0 or higher


Installation
------------
1. Copy the entire context_keywords directory the Drupal sites/[all]/modules
   directory

2. Login as an administrator. Enable the module in the "Administer" -> "Site
   Building" -> "Modules"

3. Create a new context at admin/build/context and select 'Keywords'
   to test it out.


Configuration
------------
- Seperate phrases by line.

- Use  *  as a wildcard.

- Use  ~  to exclude one or more keywords.

- Use <default> to trigger a context if no other contexts with keywords are active.


Tips & Tricks
------------
- If you are try to match a short word/acronym and concerned that it may appear within another word, 
  you can use multiple lines like such to verify a space:
  
  key
  * key
  key *
  * key *
  
  NOTE: I may look to refine this in the future.


Debugging
------------
You may test the context using a 'keywords' URL argument in one of two ways.

1. Terms seperated by a + symbol:

http://yoursite.com/?keywords=keyword1+keyword2

2. Search engine results URL(Example by searching 'Drupal' with Bing)
http://yoursite.com/?keywords=http://www.bing.com/search?q=drupal&go=&form=QBLH&qs=n&sk=&sc=8-1

NOTE: Debugging will not work correctly with Google's Live Search URL.



File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Requirements
  5. * Installation
  6. * Configuration
  7. * Tips & Tricks
  8. * Debugging
  9. INTRODUCTION
  10. ------------
  11. Current Maintainer: mikegfx
  12. Context Keywords is a add-on for the Context module that allows Contexts to be
  13. triggered by the keywords a user searched upon landing on your site. The keywords
  14. are stored throughout the session allowing the condition to be activated until
  15. the session is ended.
  16. Requirements
  17. ------------
  18. - Drupal 6.x
  19. - Context 3.0 or higher
  20. Installation
  21. ------------
  22. 1. Copy the entire context_keywords directory the Drupal sites/[all]/modules
  23. directory
  24. 2. Login as an administrator. Enable the module in the "Administer" -> "Site
  25. Building" -> "Modules"
  26. 3. Create a new context at admin/build/context and select 'Keywords'
  27. to test it out.
  28. Configuration
  29. ------------
  30. - Seperate phrases by line.
  31. - Use * as a wildcard.
  32. - Use ~ to exclude one or more keywords.
  33. - Use to trigger a context if no other contexts with keywords are active.
  34. Tips & Tricks
  35. ------------
  36. - If you are try to match a short word/acronym and concerned that it may appear within another word,
  37. you can use multiple lines like such to verify a space:
  38. key
  39. * key
  40. key *
  41. * key *
  42. NOTE: I may look to refine this in the future.
  43. Debugging
  44. ------------
  45. You may test the context using a 'keywords' URL argument in one of two ways.
  46. 1. Terms seperated by a + symbol:
  47. http://yoursite.com/?keywords=keyword1+keyword2
  48. 2. Search engine results URL(Example by searching 'Drupal' with Bing)
  49. http://yoursite.com/?keywords=http://www.bing.com/search?q=drupal&go=&form=QBLH&qs=n&sk=&sc=8-1
  50. NOTE: Debugging will not work correctly with Google's Live Search URL.