visitor

An article by Gaspard Bucher
  1. action
  2. ajax
  3. API
  4. classes
  5. common attributes
  6. conditions
  7. context
  8. dates
  9. display
  10. forms
  11. i18n
  12. meta
  13. SQLiss
    1. introduction
    2. filters
    3. visitor
    4. functions
    5. start
  14. urls

The visitor gives access to the current visitor’s BaseContact node in the current site.

You can use it as a starting context:

favorites from visitor

Be careful, the “visitor” in RubyLess is a User . You must use “visitor.node” to get the BaseContact .

comments

  1. leave a comment