Weever, an ExpressionEngine add-on by Studio625

Variables

All Weever single variables are prefixed "weever_".

weever_num_children

The number of children of the current comment.

weever_children_not_shown

The number of children of the current comment not shown on the current page (due to pagination).

weever_children_on_page

The number of children of the current comment shown on the current page.

weever_num_descendants

The number of descendants (children + grandchildren, etc) of the current comment.

weever_descendants_not_shown

The number of descendants of the current comment not shown on the current page (due to pagination).

weever_descendants_on_page

The number of descendants of the current comment shown on the current page.

weever_num_siblings

The number of siblings of the current comment.

weever_siblings_not_shown

The number of siblings of the current comment not shown on the current page (due to pagination).

weever_siblings_on_page

The number of siblings of the current comment shown on the current page.

weever_older_siblings

The number of older (preceding) siblings of the current comment.

weever_younger_siblings

The number of younger (succeeding) siblings of the current comment.

weever_is_child

Whether or not the current comment is a child. Used in conditionals.

weever_is_parent

Whether or not the current comment is a parent. Used in conditionals.

weever_is_root

Whether or not the current comment is a root. Used in conditionals.

weever_current_page

The current page number. Used only inside {weever:pagination}{/weever:pagination} tags.

weever_level

The level of the current comment. Levels are assigned like so:

Comment (level 1)
  Reply to Comment (level 2)
    Rejoinder (level 3)
  Another Reply (level 2)
Another comment (level 1)

weever_next_page

The next page number, if any. Used only inside {weever:pagination}{/weever:pagination} tags.

weever_next_page_path

The path to the next page. Uses the base_path parameter. Used only inside {weever:pagination}{/weever:pagination} tags.

weever_parent_id

The comment_id value of the comment's parent.

weever_prev_page

The previous page number, if any. Used only inside {weever:pagination}{/weever:pagination} tags.

weever_prev_page_path

The path to the previous page. Uses the base_path parameter. Used only inside {weever:pagination}{/weever:pagination} tags.

weever_root_id

The comment_id value of the root (first) comment in the current comment's thread.

weever_status

The status of the current commment. Either "o" (open) or "c" (closed).

weever_title

Weever supports titles for comments. Add a field to your comment form with the name "title" and use this variable to display the title of each comment. By default, the title is set to the first 5 words of the comment.

<label for="title">Title<input type="text" name="title" value="" size="40" /></p>

weever_total_pages

The total number of pages of comments. Used only inside {weever:pagination}{/weever:pagination} tags.