Menu Item Type #
Add/Edit Record #

Record Details #

Records #

Table & Layouts #

Basic menu item parameters needed to render the page.
- Table – Select the Table to read the records from. You can create a new table at Components/Custom Tables/Tables.
- Page Layout – Select Catalog Page Layout. This parameter is available on Custom Tables – Records menu item type.
- Item Layout – Item Layout. This parameter can be used on Records menu item and if Page layout type is Catalog Page not Simple Catalog.
- Edit Layout – Select Edit Form Layout. This parameter is available on most of the Custom Tables menu item types because the edit form can be opened from the Records (catalog) page, or even as the modal form.
- Details Layout – Select Record Details Layout. This parameter is available on Record Details and Records menu item type pages.
Filters #
Filter or ‘where clause’ is used to extract only those records that fulfill a specified condition. Also, a Limit clause to specify the number of records to return.
- Search Parameter – Field to search in = (or < or <= or > or >= or != and == ‘exact match’) value (or Twig tag as {{ user.id }} for example ) to have more then one condition use ‘and’, ‘or’ to get a value from the URL query parameter use {{ url.getint(‘param_name’) }} tag or equivalent. Example ‘color={{ url.getstring(‘string’) }}’ this will filter the ‘color’ field by the value of the ‘string’ URL query parameter. To get the current date use {{ ‘now’|date(‘m/d/Y’) }} or {{ ‘now’|date(‘Y’) }} for the year or {{ ‘now’|date(‘m’) }} for the month. Also you can format the date using MySql date_format() format specifiers, example 1: {now:%m}. Example 2: ‘birthdate:%m%d’ to get the month and the day of the field value.
- Show published records – Additional filter to show published or unpublished records.
- Author user id field. – The ‘User’ type field name – checks if a record belongs to the current user. The table must contain the user type field. There is the option to find out if a record belongs to the current user through parent tables. Syntax example: ‘user or parents(children).user’. In this case, there will be two checks: first, it will check if the record belongs to the current user, and then it will check if the record belongs to any parent record that belongs to the current user. At least one check must be positive.
- User Join Table – Table that contains record’s user ids
- User Join User ID Field – Field that contains user id
- User Join Field – Field that contains record’s user ids
- Group By – Field name to group results by.
- Limit clause – the number of records per page. – The LIMIT clause is useful on large tables with thousands of records. Returning a large number of records can impact performance. 0 means to not limit – to show all the records.
Sort By (Order By) #
Sort By parameter is used to sort the result-set in ascending or descending order. The ORDER BY keyword sorts the records in ascending order by default. To sort the records in descending order, use the desc keyword.
- Default sort by field – Enter the field name to sort by and select ascending or descending order. Example 1: ‘title desc’ where ‘title’ is the field name and ‘desc’ is the keyword to set the descending order (z-a) Example 2:
title asc. Note that the keywordascis not necessary. Example 3:title. This can be overridden in the front-end using the Order By select box – {{ html.orderby }} tag. - Forced sort by field – Same as Sort By but cannot be overridden in the front-end.
To sort table records by a field:
- Enable “Allow Ordering” in the Field settings Optional tab.
- If you are using Custom Tables as a Menu Item: Go to the Settings tab and type the desired field name into the “Default sort by field” box. A user can overwrite this using the Order By the Select box. Use “Forced sort by field” to sort only by the desired field.
Additional notes:
- You can use the “_id” or “_published” words to order by a record ID or publish status accordingly.
- If you are using a plugin to create custom tables, consult the plugin’s documentation for specific instructions on how to sort table records.
- To sort records in descending order add ” desc” after the field name.
Permissions #
Specify what is allowed for selected user group.
- Guest can add new records – Public user group, logged out or unregistered users can add new records. This is useful for contact forms. Use {{ html.captcha }} tag to stop the spam.
- Who may add records – Select the user group that may add the records.
- Who may edit records – Select the user group that may edit records.
- Who may publish records (Admin) – Select the user group that may publish and unpublish records.
- Who may delete records – Select the user group that may delete records.
- Default Publish Status – Publish status set to new records
Save Action #
What to do when a new record is added or when record was edited.
- Custom Return To – Visitor will be redirected to this link after record added or saved. This field may contain Twig tags and even record field values. Example: {{ fieldname }} to get the field value.
- Record Saved Message – This message will appear above the content (Joomla notification message box) after record is saved or added.
Email Notification #
Send email(s) after record has been added or edited.
- Email Message Layout – Select the Email Message type layout to create the message body.
- Send Email Under Conditions – The contact forms, for example will have to be sent when the website visitor adds the record, not every time administrator edits it – changing the published status counts as editing. Options:
- When a record is added
- When a record is saved
- Based on specific conditions (Works on refresh too)
- Do not send (default)
- Send Email When Record is Added To – More than one email can be used, separate them with the comma. To specify the email subject use the colon character Example: ‘test@yahoo.com:Thank you for participation’ Also you may use the field value from the saved or added record using Twig tags. Example 1: {{ email }} Example 2: test@yahoo.com,test@gmail.com, {{ email }} Example 3: {{ customeremail }}:Thank you {{ name }} for participation
- Send Email When Record is Saved To – Same like above. The email will be sent when the record is saved, not added. When “Based on specific conditions (Works on refresh too)” is selected, the email is sent to these addresses (not to the “Added To” addresses) every time the record is saved or refreshed and the conditions are met.
- Send Email Conditions – Used when “Based on specific conditions (Works on refresh too)” is selected. Since version 3.7.6 the condition is a Twig expression. The email is sent when the condition outputs 1 (true).
Example 1:{{ approved.value == 1 }}
Example 2:{{ approved.value == 1 or name.value == "Mark" }}
Example 3:{{ sent.value == 0 and record.published("number") == 1 }}
Usefieldname.valueto get a field value,record.idfor the record ID andrecord.published("number")for the publish status (1 or 0). Text values must be in quotes.
The old (pre-3.7.6) format without curly brackets, for exampleapproved=1 or sent=0, still works and is converted to Twig automatically ({{ approved.value==1 or sent.value==0 }}). In the old format only field names,_idand_publishedcan be used,and/ormust be lowercase, and values should be numbers. For text comparisons use the Twig format. - Field for Email Sent Status – Field Name where to save the email sent status. Should be int or checkbox type. 1- sent, 0- not sent.
Advanced #
Advanced settings, post processing and other.

- Allow Content Plugins – Let content plugins parse output content.
- Required Label – Character or text shown next to required fields in edit forms, for example
*or<span style='color:red'>*</span>. - Select the HTTP response format for the page. This determines the Content-Type header.
- “” – HTML (text/html, default)
- “rawhtml” – HTML Without Template (tmpl=component)
- “json” – JSON (application/json)
- “csv” – CSV (text/csv)
- “xml” – XML (application/xml)
- “txt” – Plain Text (text/plain)
Shopping Cart #
Parameters related to Shopping Cart functionality – available on Records menu item type page.
- Shopping Cart Only – Show Items in the Shopping Cart Only
- Cart Updated Return To – The link where to redirect after shopping cart has been updated.
- Message: Cart: Item Added – Notification box message text to show when after an item has been added to the shopping cart.
- Message: Cart: Item Deleted – Notification box message text to show when after an item has been deleted from the shopping cart.
- Message: Cart: Updated – Notification box message text to show when after the shopping cart has been updated.
Leave a Reply
You must be logged in to post a comment.