summary

An article by Gaspard Bucher

Display the version’s summary (parsed with zazen) with id for live view.

  1. action
  2. ajax
  3. API
  4. classes
  5. common attributes
  6. conditions
  7. context
  8. dates
  9. display
    1. add_btn
    2. add_document
    3. admin_links
    4. comments_count
    5. content_lang
    6. design
    7. filter
    8. flash_messages
    9. h
    10. img
    11. javascripts
    12. mail_hide
    13. min / max
    14. search_box
    15. set
    16. show
    17. stat
    18. stylesheets
    19. summary
    20. text
    21. title
    22. uses_datebox
    23. zazen
    24. zena
  10. forms
  11. i18n
  12. meta
  13. SQLiss
  14. urls

Display the version’s summary (parsed with zazen) with id for live view.

  • text static text to display.
  • limit maximum number of paragraphs.
  • or alternate field to show if summary is empty.
see text
<r:summary or='v_text' limit='2'/>

When there is an “or” clause, the limit argument only applies to the alternate text (“or” text).