People Component & Plugin for Joomla 4.x
Erik Jorgensen
Purpose
The People component is a custom Joomla extension designed to simplify creation and standardize presentation of SCI staff profile pages.
- Allow fellow staff members a way to familiarize themselves with other members' backgrounds, positions, and areas of research.
- Provide fellow members and outside visitors a way to find and contact members of SCI they may be interested in.
- Provide an organized presentation of SCI membership in a format consistent with the SCI site look and feel.
As of this writing, the component database contains records on 785 past and present members of SCI.
Presentation
The SCI People page and A-Z Directory may be found on the main menu under "People". It displays public profile information via two types of listing pages and individual landing pages for each member of SCI. The first listing page is the SCI People page that displays links to all members of SCI separated into primary and secondary categories. The first prime category is for Faculty which is subdivided into sections for the directorship, primary faculty, emeritus faculty, research faculty, and affiliate faculty. The second prime category is for Staff which is subdivided into sections for staff scientists, postdocs, fellows, research and development, administrative, media development, and IT. The final major category is for Students which includes graduate students and undergraduate students.
The second listing page is a searchable A-Z directory page which displays a list of links to all SCI member pages in alphabetical order by last name as well as their email address and room number, if they have a desk at SCI. It displays 20 members per page with pagination links at the top and bottom to navigate among listing pages. A search box at the top allows visitors to find member pages by searching on their name.
Each name listed on both the SCI People page and the Directory page links to a member landing page displays their position(s), contact information, a brief description of their background, current responsibilities, and research interests. The standard content sections, however, may also be expanded to include other information and resources such as additional content sections, links to photos, a link to their personal home page, or a link to the Publications component to display a listing of just their publications.
Administration
The SCI People pages are created and managed from the Joomla Administrator control panel. The management tab for "SCI People" may be found under Components in the blue column on left side of the page. Clicking this will take you to the main listing page for all the SCI profile pages sorted by last name. Buttons at the upper left of the page allow the user to create a new page, edit an existing page, or delete a selected page. Edit and Delete will not become functional until an existing page is selected by clicking a checkbox to the left of the page listing. A column on the right side of the listings labeled “Published” indicates weather or not a page is currently being displayed on the public website. Clicking an icon in this section allows pages to be removed from the website without deleting the data from the database. A search box in the top section of the page allows the user to find individual member pages. To the left side of the thumbnail image of each SCI member is an edit icon that allows access to the edit form for an individual profile. The form may also be accessed by clicking either the thumbnail image or the name in the same row.
When creating a new page or editing an existing one, the user is presented with a standard form requesting the content expected for every SCI Profile page. In the left column is a drag'n'drop (or click) box to upload a photo. If editing an existing profile that already has a photo uploaded, the photo will be displayed above the upload box. The upload tool accepts .jpg or .png format images up to 5MB in size. Once an image is dropped into or selected in the photo upload box, a thumbnail version of the image appears in the box along with a crop selection tool. If the image is wider than the standard aspect ratio for profile photos, the user may drag a slider from right to left in order to select the ideal cropping for the profile photo. Upon saving, the photo will then automatically be scaled and cropped to the standard image size of 120px x 200px.
The other content fields are either simple text boxes, drop down selector, text areas, or HTML based WYWIWYG editors. After editing the page content, the user may use the buttons above the form to either “Save” the content and continue editing, “Save & Close” to save then return to the listing page, “Save & New” to save the current profile and restart with blank new form, or simply “Close” to discard the edited data and return to the listing without creating a new profile.
Component Settings
"Collective Title" describes the group for which this component is being used which in our case is “SCI People.” This label appears at the top of the main SCI People page. The "Path to photo folder" sets the default folder where photos are uploaded when a profile image is added.
The "Group List" defines the primary and secondary categories profile pages are sorted into on the SCI People page such as Faculty, Staff, and Students, etc. A colon “:” followed by a title denotes a main category. Comma separated titles following it are treated as subcategories of that primary category until another colon character is encountered denoting a new prime category. The Group List also defines the values available in the drop down selection box found in the Page Details form. The "Default Group" will be shown as the default option in the Group dropdown selector when a new profile is created.
The "Top Gallery" field defines the group of thumbnail images shown at the top of the SCI People page. A comma separated list of SCI usernames determines the members who will appear in the gallery.
People Plugin
A companion plugin for the People component allows the site search engine to include SCI Profile pages within search results. It must also be installed and activated.