List of Constants Available in Kuroco
Constants can be called using the syntax $smarty.const.[constant name]
.
Some constants can be modified by adding constant settings. For more information, refer to Constants.
List of Constants
Constant Name | Description |
---|---|
SITE_TITLE | Site title. Can be set in the site management page. |
SITE_KEY | Site key specified at registration |
ROOT_URL | URL of Kuroco front-end |
ROOT_MNG_URL | URL of Kuroco management interface |
ROOT_API_URL | URL of Kuroco API |
ROOT_IMG_URL | URL of Kuroco Files |
S3BUCKET | Bucket name of the configured S3 |
S3BUCKET_DOMAIN | Domain of the configured S3 region |
SITE_EMAIL | Administrator email. Can be set in the site management page. |
INQUIRY_OPERATE_LIMIT_TYPE_NONE | Constant indicating that there are no access restrictions for the inquiry management page |
INQUIRY_OPERATE_LIMIT_TYPE_GROUP | Constant indicating that there are access restrictions for the inquiry management page |
INQUIRY_OPERATE_LIMIT_TYPE_OWNCONTENTS | Constant indicating that only inquiries from content registered by logged-in users can be operated |
INQUIRY_TEXT_FORMAT | Integer value indicating that the inquiry item type is "short text up to 100 characters" |
INQUIRY_TEXT_AREA_FORMAT | Integer value indicating that the inquiry item type is "long text up to 400 characters" |
INQUIRY_RADIO_BUTTON_FORMAT | Integer value indicating that the inquiry item type is "single selection (radio button)" |
INQUIRY_SELECT_BOX_FORMAT | Integer value indicating that the inquiry item type is "single selection (select box)" |
INQUIRY_CHECK_BOX_FORMAT | Integer value indicating that the inquiry item type is "multiple selection (select box)" |
INQUIRY_DATE_FORMAT | Integer value indicating that the inquiry item type is "date" |
INQUIRY_FILE_FORMAT | Integer value indicating that the inquiry item type is "file" |
INQUIRY_MATRIX_FORMAT | Integer value indicating that the inquiry item type is "matrix" |
INQUIRY_FILE_GCS_FORMAT | Integer value representing the type of inquiry item as "GCS File" |
INQUIRY_FILE_S3_FORMAT | Integer value representing the type of inquiry item as "S3 File" |
GROUP_POLICY_ALLOW | Integer value representing the group's member information access policy as "Unrestricted" |
GROUP_POLICY_DENY | Integer value representing the group's member information access policy as "Restricted" |
COMMENT_STATUS_RUN | Integer value representing the status of a comment as "Running" |
COMMENT_STATUS_STOP | Integer value representing the status of a comment as "Stopped" |
MAGAZINE_RUN | Integer value representing the status of delivery as "Running" |
MAGAZINE_STOP | Integer value representing the status of delivery as "Stopped" |
MEMBER_CSV_OUTPUT_OFFSET | Number of rows per file in the downloaded CSV |
EC_POINT_STATUS_FIXED | Integer value representing the status of a point as "Fixed" |
EC_POINT_STATUS_TEMP | Integer value representing the status of a point as "Unfixed" |
EC_POINT_STATUS_EXPIRED | Integer value representing the status of a point as "Expired" |
EC_EXT_GROUP_LOOP | Integer value representing the number of SKU extension items |
EC_PAYMENTMETHOD_CREDIT_CARD | Integer value indicating that the payment method is "credit card" |
EC_PAYMENTMETHOD_CONVENIENCE_STORE | Integer value indicating that the payment method is "convenience store payment" |
EC_PAYMENTMETHOD_MONTHLY | Integer value indicating that the payment method is "monthly card" |
EC_PAYMENTMETHOD_AMAZON_PAYMENT_MONTHLY | Integer value indicating that the payment method is "Amazon payment (monthly)" |
EC_PAYMENTMETHOD_PAY_EASY | Integer value indicating that the payment method is "ATM payment (Pay-easy)" |
EC_PAYMENTMETHOD_SP_CAREER_SB | Integer value indicating that the payment method is "SP carrier continuous payment" |
EC_WITHDRAW_ON_PURCHASE | Integer value representing the payment option as "Monthly Payment + On Purchase" |
EC_SERIAL_CODE_GROUP_TYPE_FREE_CODE | Value indicating that the coupon value type for EC serial codes is set to "Free Code" |
EC_SERIAL_CODE_GROUP_TYPE_DISCOUNT_CODE | Value indicating that the coupon value type for EC serial codes is set to "Discount Code" |
EC_SERIAL_CODE_DISCOUNT_AMOUNT | Value indicating that the type of coupon value for the EC serial code is "discount amount" |
EC_SERIAL_CODE_DISCOUNT_PERCENTAGE | Value indicating that the type of coupon value for the EC serial code is "%" |
EC_CONVENI_TYPE_SEVENELEVEN | Constant indicating that the convenience store is "Seven Eleven" |
EC_CONVENI_TYPE_LAWSON | An integer value indicating that the convenience store is "Lawson". |
EC_CONVENI_TYPE_FAMIMA | An integer value indicating that the convenience store is "FamilyMart". |
EC_CONVENI_TYPE_SEICOMART | An integer value indicating that the convenience store is "Seicomart". |
EC_CONVENI_TYPE_CIRCLEK_SUNKUS | An integer value indicating that the convenience store is "Circle K Sunkus". |
EC_CONVENI_TYPE_MINISTOP | An integer value indicating that the convenience store is "Ministop". |
EC_CONVENI_TYPE_YAMAZAKI | An integer value indicating that the convenience store is "Daily Yamazaki". |
EC_SPCAREER_TYPE_DOCOMO | An integer value indicating that the career is "docomo". |
EC_SPCAREER_TYPE_AU | An integer value indicating that the career is "au". |
EC_SPCAREER_TYPE_SOFTBANK | An integer value indicating that the career is "SoftBank". |
EC_EXT_TYPE_TEXT | An integer value indicating that the type of EC extended item is "text". |
EC_EXT_TYPE_TEXT_AREA | An integer value indicating that the type of EC extended item is "text area". |
EC_EXT_TYPE_WYSIWYG | An integer value indicating that the type of EC extended item is "Wysiwyg". |
EC_EXT_TYPE_SELECT_BOX | An integer value indicating that the type of EC extended item is "selection". |
EC_EXT_TYPE_MULTIPLE_CHOICE_CHECKBOX | An integer value indicating that the type of EC extended item is "multiple choice (checkbox)". |
EC_EXT_TYPE_IMAGE | An integer value indicating that the type of EC extended item is "image". |
EC_EXT_TYPE_LINK | An integer value indicating that the type of EC extended item is "link". |
EC_EXT_TYPE_DATE | An integer value indicating that the type of EC extended item is "date format". |
EC_EXT_TYPE_TDFK | An integer value indicating that the type of EC extended item is "prefecture". |
EC_EXT_TYPE_FILE | An integer value indicating that the type of EC extended item is "file". |
EC_EXT_TYPE_HTML | An integer value indicating that the type of EC extended item is "html". |
EC_EXT_TYPE_FILEMANGER | An integer value indicating that the type of EC extended item is "file manager". |
EC_EXT_TYPE_GCSFILE | Integer value indicating that the type of EC extension item is "GCS file" |
DEFAULT_OPEN_TYPE | Initial value of the public setting in the content editing page Initial value of the public setting in non-content editing pages * By default, it is set to "open" and can be changed through constant settings. |
DEFAULT_OPEN_TYPE2 | Initial value of the public setting in the content editing page |
OPEN_TIME_OPTION_INTERVAL | Interval between selectable times in the public setting |
LOGIN_URL_FOR_LTD | URL of the login page to which the user is redirected when accessing restricted files without logging in |
APPROVALFLOW_APPROVAL_STATUS_1 | Integer value indicating that the approval status of the content in the approval workflow is "Pending" |
APPROVALFLOW_APPROVAL_STATUS_2 | Integer value indicating that the approval status of the content in the approval workflow is "Waiting for Approval" |
APPROVALFLOW_APPROVAL_ALERT_TIME | Time of sending the approval pending alert in the approval workflow |
MAGAZINE_MAIL_UNSENT | Integer value indicating that the status of the delivery email is "Pending" |
MAGAZINE_MAIL_SENDING | Integer value indicating that the status of the delivery email is "Sending" |
MAGAZINE_MAIL_SENT | Integer value indicating that the status of the delivery email is "Sent" |
MAGAZINE_MAIL_ROUGH | Integer value indicating that the status of the delivery email is "Draft" |
BATCH_TYPE_EVERYDAY | An integer value indicating that the type of batch processing is "every day". |
BATCH_STATUS_UNDONE | Integer value indicating that the status of the batch process is "Not Started" |
BATCH_STATUS_DISABLE | Integer value indicating that the status of the batch process is "Disabled" |
BATCH_TYPE_TEMPLATE | An integer value indicating that the type of batch processing is "batch template". |
APPROVALFLOW_MEMBER_TYPE_1 | Integer value indicating that the approval workflow member type is "Group" |
APPROVALFLOW_MEMBER_TYPE_2 | Integer value indicating that the approval workflow member type is "Member" |
LOGIN_INFO | Login page message |
RCMS_DATEFORMAT | Date format setting. |
RCMS_CURRENCY | Currency Unit Used |
RCMS_TIMEZONE | Time zone. |
TAG_MAX_EXTENSION | Maximum number of tag extensions |
TOPICS_CONTENTS_TYPE_CNT | Maximum number of categories that can be set for a content |
TOPICS_MAX_EXTENSION | Maximum number of extensions that can be set for a content |
TOPICS_EXT_GROUP_LOOP | Maximum number of repetitions for content's extension items |
TOPICS_EXT_TYPE_GCSFILE | Integer value representing that the extension type of an article is "GCS file" |
TOPICS_EXT_TYPE_TEXT | Integer value that represents an article extension item of "Text" type |
TOPICS_EXT_TYPE_AUTOCOMPLETE | Integer value that represents an article extension item of "Text (autocomplete)" type |
TOPICS_EXT_TYPE_SELECT_BOX | Integer value that represents an article extension item of "Selection format" type |
TOPICS_EXT_TYPE_TEXT_AREA | Integer value that represents an article extension item of "Text area" type |
TOPICS_EXT_TYPE_MULTIPLE_CHOICE_CHECKBOX | Integer value that represents an article extension item of "Multiple choice (checkbox)" type |
TOPICS_EXT_TYPE_CSVTABLE | Integer value that represents an article extension item of "Master format" type |
TOPICS_EXT_TYPE_RELATION | Integer value that represents an article extension item of "Related information selection" type |
TOPICS_EXT_TYPE_DATE | Integer value that represents an article extension item of "Date format" type |
TOPICS_EXT_TYPE_WYSIWYG | Integer value that represents an article extension item of "Wysiwyg" type |
TOPICS_EXT_TYPE_IMAGE | Integer value that represents an article extension item of "Image" type |
TOPICS_EXT_TYPE_LINK | Integer value that represents an article extension item of "Link" type |
TOPICS_EXT_TYPE_FILE | Integer value that represents an article extension item of "File" type |
TOPICS_EXT_TYPE_TABLE | Integer value that represents an article extension item of "Table format" type |
TOPICS_EXT_TYPE_LOCATION | Integer value representing that the extension type of an article is "Location" |
TOPICS_EXT_TYPE_HTML | Integer value that represents an article extension item of "HTML" type |
TOPICS_EXT_TYPE_S3FILE | Integer value representing that the extension type of an article is "S3 file" |
TOPICS_EXT_TYPE_FILEMANGER | Integer value that represents an article extension item of "File manager" type |
RCMS_DEFAULT_TOPICS_MAX_EXTENSION | Integer that represents the upper limit (default value) of the number of article extension items. If you set it separately for each site, use TOPICS_MAX_EXTENSION instead of this variable. |
RCMS_DEFAULT_MEMBER_MAX_EXTENSION | Integer that represents the upper limit (default value) of the number of member extension items. |
GEO_REGION | Fastly region *Only accessible through API calls |
GEO_COUNTRY_CODE | Fastly country code *Only accessible through API calls |
GEO_CONN_SPEED | Fastly connection speed *Only accessible through API calls |
OEM_CURRENCY | Currency unit used *Only accessible in dashboard widgets |
RCMS_SESSION_GC_MAXLIFETIME | Time duration until automatic logout after accessing while logged in |
Related documents
- Constants
- Can I change the time selection interval for the content publication date and time settings?
- Can I set my content publishing status to "Unpublish" by default?
- How to get the origin country/region of API requests
- Can we redirect to an arbitrary page when accessing a file without viewing permission?
Support
If you have any other questions, please contact us or check out Our Slack Community.