name

An article by Gaspard Bucher

Set the name of a code section.

  1. action
  2. ajax
  3. API
  4. classes
  5. common attributes
    1. ..._if
    2. actions
    3. anchor
    4. attr
    5. date selection
    6. draggable
    7. eval
    8. label
    9. link params
    10. name
    11. prefix
    12. publish
    13. set_...
    14. status
    15. store
    16. text, t
    17. tlabel
    18. toggle
  6. conditions
  7. context
  8. dates
  9. display
  10. forms
  11. i18n
  12. meta
  13. SQLiss
  14. urls

The name is used to access parts of a template. In the example above, accessing “main_title” would be done with the path page_list/main_title. This feature is used in zafu ajax and during template inclusion.

When you use an id attribute on a tag, this id is automatically used to set the name.