Message names

From ISPWiki

Jump to: navigation, search

Internal names of the messages should meet certain requirements and depend on what a message is used for.

  • Menu item
menu_NAME

where NAME is the name of a function that is called by clicking this menu item. The value matches the content of the node tag that describes this menu item.

  • Interface heading
title

all of the tables and forms have headings. You can provide the message title_new that will be used for creating a new element if the form is opened (the elid tag is not present).


  • Table column
NAME

name of a text message that should match the internal name of a column (the name attribute of the col tag).


  • Control panel button
short_NAME 

short message that is displayed under a button (or icon), if a user chose "icons and captions" in the General settings, NAME is an internal name of a button (the name attribute of the toolbtn tag)

hint_NAME

hint is displayed when moving the mouse cursor over a button, NAME is an internal name of a button (the name attribute of the toolbtn tag)

msg_FUNC_NAME

confirmation message that is required for the buttons with the group type. NAME is an internal name of a button (the name attribute of the toolbtn tag), FUNC is a function name (the name attribute of the metadata tag). When this message is displayed, selected elements coma and space separated (", ") followed by "?" will be listed (the value is taken from the main field).

  • Forms
NAME

name of a form page, NAME is an internal name of a page (the name of the page tag)

  • Form fields
NAME

message that is placed to the left from the field, NAME is an internal name of a field (the name attribute of the field tag)

hint_NAME 

hint that is displayed when moving the mouse cursor over a field, NAME is an internal name of a field (the name attribute of the field tag)

  • Error messages
msg_error_NAME

A message that is displayed when error 8 occurs (with a random text). NAME corresponds to the obj attribute of the error tag. A message may have a macros __param__, that will be replaced into the content of the error tag.

  • drop-down lists
NAME

Message in the drop-down lists, that are described with the msg tag, NAME corresponds to the msg tag that describes a drop-down list element.

  • Data columns
COL_NAME

Messages that are displayed in tables, if a column (col) has the (the type attribute) msg type. COL is a column name (the name attribute of the col tag), NAME is the content of the tag with data for this column.

  • icon hints in data tables
hint_p_NAME

hint that is displayed when moving the mouse cursor over an icon in the table, NAME is an internal name of a field (the name attribute of the field tag). This message will also contain the content of the tag with data, if it exists.

Was this helpful? Yes | No
Views
Personal tools