All Commands
All Display
Commands
COMMENT
This command is essentially a shortcut to the {RENDER_TREE()} Command with a few additional features.
The actual code generated for this command when a user is logged in is:
{RENDER_TREE({COID}, 0, 57, 0, 1)}
<div class="py-1">{INPUT_NEW({COID}, 2, #New_Comment_{COID}, 110, fa-comment, btn btn-primary btn-sm noprint, -2, {"title":"Add a comment"})}</div>
<div style="display:none;" id="New_Comment_{COID}"></div>
Number | Name | Default | Type | Description |
---|---|---|---|---|
1 | obj_id | Current Page ID | Integer | The root object ID |
2 | options | 1 | Integer | Options: 1 = Allow Visitors to View Comments 2 = Notes Insted of Comments 16 = Emotion Voting on Comments |
3 | login-text | String | The text to display if the user is not logged in. The default for this will be different depending on weather visitors are allowed to view comments. Either : |
|
4 | new_title | Add a comment | String | New Comment Button Title Text |
Example
DISPLAY Commands
ACCORDIONAJAX_EMBED
BASIC_DISP
BLINK
CALENDAR
COMMA
DQUOTE
EDITABLE
FAVICON
FIRST_LINE
FORMAT_DATE
GLINK
GLINK_OFF
GLINK_ON
HTML_SPECIAL_CHARS
HTML_TO_TEXT
IMPORT_FORM
LCASE
MAIN_PAGE
NALB
NOTIFY
OBJ_COLOR
PAGE_JS
PAGE_JS2
PAGE_TITLE
PANEL
PANEL_CLOSED
PANEL_OPEN
PILLS
PLURAL
PRINT_BUTTON
QR_CODE
REGISTER
REG_REP
RENDER_TREE
RETURN_TIDY
SEQN
SET_PAGE_TITLE
SIDEBAR_LEFT/RIGHT
SLIDES
SYMBOL
TRACKING_IMAGE
TRIM
WRAP
EDITOR Commands
EDITABLEFORM Commands
CHOICEEDITABLE
IMPORT_FORM
INPUT_DATA
INPUT_FORM
INPUT_FORM_ID
INPUT_INCLUDE
INPUT_PREFILL
INPUT_SAVE_BUT
LABEL
LOGIN_FORM
LOGIN Commands
LOGGED_INLOGIN
LOGIN_FORM
LOGIN_LINK
LOGIN_NAME
LOGIN_PASSWORD
LOGIN_REM_ME
LOGIN_SUBMIT
REGISTER
USER_LEVEL