Skip to content
  1. Extras
  2. Tickets
  3. System settings

System settings

Open System Settings and filter by namespace tickets. DB key format: tickets_{name}.

Main (tickets.main)

KeyTypeDefaultDescription
tickets_mgr_tree_icon_ticketssectiontexticon icon-comments-oTicket section icon in the resource tree
tickets_mgr_tree_icon_tickettexticon icon-comment-oTicket icon in the resource tree
tickets_date_formattext%d.%m.%y <small>%H:%M</small>Date format on the frontend
tickets_enable_editorboolean1MarkItUp editor for tickets and comments
tickets_frontend_csstext[[+cssUrl]]web/default.cssFrontend CSS path; empty disables auto-load
tickets_frontend_jstext[[+jsUrl]]web/default.jsFrontend JS path
tickets_source_defaultmedia source0Default media source for ticket files

Ticket section (tickets.section)

KeyTypeDefaultDescription
tickets_section_content_defaulttextareaemptyContent for new sections; package default lists child tickets

Ticket (tickets.ticket)

KeyTypeDefaultDescription
tickets_editor_config.tickettextareaMarkItUp JSONTicket editor toolbar
tickets_default_templatetemplateemptyDefault template for new tickets (mgr and frontend)
tickets_private_ticket_pagenumber0Resource ID to redirect private ticket viewers
tickets_unpublished_ticket_pagenumber0Resource ID for unpublished ticket requests
tickets_ticket_max_cutnumber1000Max text length without <cut/>
tickets_count_guestsboolean0Count guest page views (easy to inflate)
tickets_auto_introtextboolean1Fill empty introtext from content before <cut/>
tickets_max_files_uploadnumber0Attachment limit per ticket; 0 means unlimited

Comment (tickets.comment)

KeyTypeDefaultDescription
tickets_editor_config.commenttextareaMarkItUp JSONComment editor toolbar
tickets_snippet_prepare_commenttextemptySnippet to post-process comments instead of default
tickets_comment_edit_timenumber600Seconds the author can edit a comment
tickets_clear_cache_on_comment_saveboolean0Clear ticket cache on comment actions; only if TicketComments is cached

Mail (tickets.mail)

KeyTypeDefaultDescription
tickets_mail_fromtextemptyFrom address; falls back to emailsender
tickets_mail_from_nametextemptyFrom name; falls back to site_name
tickets_mail_queueboolean0Mail queue; if 1, add core/components/tickets/cron/mail_queue.php to cron
tickets_mail_bcctext1Admin user IDs for BCC, comma-separated
tickets_mail_bcc_levelnumber20 off, 1 tickets only, 2 tickets and comments

Tickets Files media source

Install creates Tickets Files (assets/images/tickets/). Set its ID in tickets_source_default.

Source properties (not system settings):

PropertyDefaultDescription
thumbnailsJSON thumb 120×90image thumbnails
maxUploadWidth1920max width
maxUploadHeight1080max height
maxUploadSizebytesmax file size
imageExtensionsjpg,jpeg,png,gifallowed extensions