Help4.x

Difference between revisions of "Fields"

From Joomla! Documentation

Line 198: Line 198:
  
 
{{Cathelp|4.0|Article Manager Help Screens|Content Help Screens}}
 
{{Cathelp|4.0|Article Manager Help Screens|Content Help Screens}}
 +
 +
[[Category:Help screen 4.1]]
 +
[[Category:Help screen 4.2]]

Revision as of 03:13, 1 July 2022

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎русский

Description[edit]

Fields are used to display additional attributes of Articles, Contacts or Users. The data are entered in an Administrator Edit form and displayed in the Site. An example:

Suppose you write articles about aspects of nature, sometimes Flowers, sometimes Animals. One field you might wish to record and display for both is the Latin Name, requiring a text field. Another might be Habitat: Woodland, Pond, Meadow, and so on, requiring a drop-down list. For flowers you may wish to record Flowering Season using 12 checkboxes, one for each month.

Empty fields in the input form are not displayed in the Site output, so you could keep all fields in one long list. However it is usually better to use categories for your Articles, say Flowers and Animals. Fields can be assigned to more than one Category. So Latin Name and Habitat fields would be assigned to both but Flowering Season would only be assigned to the Flowers category.

If a field is not assigned to a group it will appear in the Edit form in a Fields tab. If a field is assigned to a group it will appear in a tab with that name. So for the Flowers group it seems appropriate to create a group named Flower Data (or just Flowers, although using the same name for different things gets confusing). And for the other common fields you could use a Nature group.

The Articles:Fields screen is where you list, filter, add and edit Fields.

How to Access[edit]

Article Fields[edit]

  • Select Content  Fields from the Administrator menu. Then...
    • Select either Articles or Category from the drop-down list.

Users Fields[edit]

  • Select Users  Fields from the Administrator menu.

Contacts Fields[edit]

  • Select Components  Contacts  Fields from the Administrator menu. Then...
    • Select either Contact, Mail or Category from the drop-down list.

Screenshot[edit]

Help-4x-Content-Article-Manager-Fields-screen-en.png

Column Headers[edit]

  • Checkbox. Check this box to select one or more items. To select all items, check the box in the column heading. After one or more boxes are checked, click a toolbar button to take an action on the selected item or items. Many toolbar actions, such as Publish and Unpublish, can work with multiple items. Others, such as Edit, only work on one item at a time. If multiple items are checked and you press Edit, the first item will be opened for editing.
  • Ordering. You can change the order of an item within a list as follows:
    • If the list Filter Options include a Position filter select the desired Position. This will limit the list to items that are assigned to that Position.
    • Select the Ordering icon Help30-Ordering-colheader-icon.png in the Table heading to make it the active ordering item. The ordering icons in each row will change from light grey to dark grey and the pointer will change to a drag arrow on hover.
    • Select one of the Ordering icons Help30-Ordering-colheader-grab-bar-icon.png and drag it up or down to change the position of that row in the list. The items will display in the new order within the Position.
  • Status. The published status of the item.
  • Title. The name of the item. For a Menu Item, the Title will display in the Menu. For an Article or Category, the Title may optionally be displayed on the web page. This entry is required. You can open the item for editing by clicking on the Title.
  • Type. The Type of the Custom Field.
    • Calendar: calendar field.
    • Checkboxes: checkboxes field.
    • Colour: color field.
    • Editor: editor field.
    • Integer: integer field.
    • List: list field.
    • List of images: imagelist field.
    • Media: media field.
    • Radio: radio field.
    • SQL: sql field.
    • Text: text field.
    • Text Area: textarea field.
    • URL: url field.
    • User: user field.
    • User Groups: usergrouplist field.
  • Field Group. The Field Group this item belongs to.
  • Language. Item language.
  • ID. This is a unique identification number for this item assigned automatically by Joomla. It is used to identify the item internally, and you cannot change this number. When creating a new item, this field displays "0" until you save the new entry, at which point a new ID is assigned to it.

List Filters[edit]

Search bar. Near the top of the page you will see the search bar shown in the Screenshot above.

  • Search by Text. Enter part of the search term and click the Search icon. Hover to see a Tooltip indicating which fields will be searched.
    To 'Search by ID' enter "id:x", where "x" is the ID number (for example, "id:19").
  • Filter Options. Click to display the additional filters.
  • Clear. Click to clear the Filter field and restore the list to its unfiltered state.
  • Ordering. Shows the current list ordering field. 2 ways to change the order:
    • Select from the dropdown list. Ordering may be in ascending or descending order.
    • Click a column heading. The column heading toggles between ascending and descending order.
  • Number to Display. Shows the number of items in a list. Select from the dropdown list to change the number displayed.
    The default for a site is '20' but this may be changed in the Global Configuration.

Filter Options[edit]

  • Select Status. Select from Trashed / Unpublished / Published / Archived / All.
  • Select Assigned Category. Select from the list of available assigned categories.
  • Select Field Group. Select from the list of available field groups.
  • Select Access. Select from the list of available viewing access levels.
  • Select Language. Select from the list of available languages.

Pagination[edit]

Page Controls. When the number of items is more than one page, you will see a page control bar near the bottom of the page shown in the Screenshot above. The current page number being viewed has a dark colour background.

  • Start. Click to go to the first page.
  • Prev. Click to go to the previous page.
  • Page numbers. Click to go to the desired page.
  • Next. Click to go to the next page.
  • End. Click to go to the last page.

Batch Process[edit]

The Batch Process allows a change in settings for a group of selected items marked with a check-mark in the corresponding check-mark boxes. To use: select one or more items form the table of items being viewed and click on the 'Batch' Toolbar button. This will open a pop up window as shown below.

Help30-colheader-batch-process-fields-en.png

You can change one value or all three values at one time.

Note - if you copy items to a new group, changes you have selected from access level and language will be applied to the copies, not the original.

How to Batch Process a group of items:

  1. Select one or more items on the list by checking the desired group check boxes.
  2. Click the 'Batch' Toolbar button.
  3. Set one or more of the following values:
    • To change the Access Levels, select the desired new access level from the Set Access Level list box.
    • To change the Language, select the desired language from the Set Language list box.
    • To change the Field Group, select a group. To leave the group unchanged, use the default value of "Select".
    1. To copy the items to a different group, select the desired group from the group list box and check the Copy option. In this case, the original items are unchanged and the copies are assigned to the new group and, if selected, the new access level and language.
    2. To move the items to a different group, select the desired group from the group list box and check the Move option. In this case, the original items will be moved to a new group and, if selected, be assigned the new access level and language.
  4. When all of the settings are entered, click on Process to perform the changes. A message "Batch process completed successfully." will show.

Note that nothing will happen if you (a) don't have any items selected or (b) have not selected an access level, language, or group.

If you wish to clear your entered selections, click on the Cancel button. This will return all of the Batch controls to their default values. Note that this does not uncheck the check boxes for the items.

Toolbar[edit]

At the top of the page you will see the toolbar shown in the Screenshot above. The functions are:

  • New. Opens the editing screen to create a new field.
  • Actions: Reveals a list of actions for selected Items. Check one or more Item checkboxes to activate the list.
    • Publish. Makes the selected field available to visitors to your website.
    • Unpublish. Makes the selected field unavailable to visitors to your website.
    • Archive. Changes the status of the selected field to indicate that they are archived.
      Archived field can be moved back to the published or unpublished state by selecting 'Archived' in the 'Select Status' filter and changing the status of the field.
    • Check-In. Checks-in the selected field. Works with one or multiple field selected.
    • Trash. Changes the status of the selected field to indicate that they are trashed.
      Trashed field can still be recovered by selecting 'Trashed' in the 'Select Status' filter and changing the status of the articles to Published or Unpublished as preferred.
      To permanently delete trashed field, select 'Trashed' in the 'Select Status' filter, select the field to be permanently deleted, then click the 'Empty Trash' toolbar icon.
    • Batch. Batch processes the selected field. Works with one or multiple items selected.
  • Options. Opens the Options window where settings such as default parameters can be edited.
  • Help. Opens this help screen.

Quick Tips[edit]

Related Information[edit]