The Views

Lists | Details | Gallery | Add/Edit/Delete | Specials

I have provided a brief description of the various views or screens in phpPortfolio and what you will see when logged in as different user levels.

Lists

List view is your base view in phpPortfolio. They are record results sets. The information displayed in list views varies from table to table and is also effected by whether or not a visitor is logged in.

Clicking on an icon image, or the default magnifying glass, in a list view will bring up the details view for that record. If a visitor is logged in and is a level 2 or better user, there will also be icons for 'Edit' and 'Delete'.

The number of rows on a page is controlled in your config.php file. The background (bg) colours of alternating rows can be controlled in your css file. The list view's default sort order is by Rank first and then by Title. You may also re-sort the list by clicking on any column header.

Top

Details

Details views display full details for a single record. Once again, the details displayed are dependant upon the user level of a logged in user. If there are images attached to a record, the main (re-sized) image will be displayed in a details view.

It is in the details views that we begin to see how the various records in your portfolio relate to each other. For instance, when looking at the details view for a client, any pieces and projects related to the client will be listed and linked to.

If a visitor is logged in and is a level 2 or better user, there will also be icons for 'Edit' and 'Delete' at the bottom of the page.

Top

Gallery

The Gallery view is the default view for phpPortfolio. It is a thumbnail gallery of the pieces in your portfolio. Only Title, Thumbnail, and a few other details are rendered in the Gallery view. Clicking on a thumbnail will load the details view for a given piece.

Pieces in the gallery are first sorted by rank and then by title. You can control some default behaviours (such as number of items on a page and lowest rank to include) in your config.php file. This allows you to maintain a complete portfolio while ensuring that your lowest ranked pieces will not show up in your gallery.

Top

Add/Edit/Delete

The add/edit/delete screens are pretty straightforward and are only available to logged in users with a level 2 or better. Required fields are indicated in add/edit screens. Other types of basic data validation is performed on various fields such as email address format, etc.

As in any database application, when you delete something, it is gone, there is no undo. That said, all delete buttons would first bring up a details screen of the record you are about to delete and ask for confirmation before actually deleting the record.

Top

Specials

There are a couple of special views/functions that are available for use outside of your portfolio proper. These include things like a random piece to display in a block on the main page of your site, and other functions of that nature. These specials and how to use them are detailed on the Special views page of this documentation.

Top

© phpPortfolio