Chapter 2. Initial set-up and usage

Parameter Settings

There are a few basic settings used by the component. Theses are attached over a number of different 'option' tabs. The first is the settings for the loading of the various Javascript files, used specifically by the timesheet grids. These are references to the actual CDN (Content Delivery Network) location of the files but also to the CDN location of the language (See design section later in this guide) and CSS files used by the grids. Optionally one can also choose whether to load the jQuery javascript itself, although this is OFF by default and is unlikely to be required on most current Joomla installations. The use of CDN was chosen to reduce the footprint of the component when installed, and also enable easier movement to later versions of the grid code when it is released. If the component is installed upon a site that has no Internet access then the screens would need modification to load the files from the local server rather than CDN.

Figure 2.1. Parameters (1)

Parameters (1)

The second tab displays the defaults for the component, such as the number of days in each week used by the grid displays. This is a value of either 5 or 7, since most people usually work a 5 or a 7 day week. There is also a parameter to specify the starting day for each week. This is usually expected to be either the Sunday or the Monday of the week, but it is possible to specify it as Saturday if the need should arise.

Figure 2.2. Parameters (2)

Parameters (2)

One other option to note is the forcing of there to be a unique timesheet for each time period, and thus a user cannot create a second timesheet for a period where they have already created a timesheet. There is only one reason that we can think of as to why this option should be modified, which is it timesheets were ti be prepared for submission to different clients. So for example on the first three days of the week they are working for client A, and on the other two working days for client B.

The third tab controls the display of the Print, Email icons etc.on the front end displays. The print icon is usually displayed so that the user may print out their timesheet and forward it to where ever they desire. The email icon is not so sure. The email icon displays a small popup window where the user may forward the web link to an other person. However whether the person can actually view the web page is not so certain. Security features mean that only a user and their timesheet approvers may view the timesheet details, so it the recipient of the email link is not the timesheet approver, then they could not use the link anyway.

The create icon is not currently available and is intended for a future enhancement.

Figure 2.3. Parameters (3)

Parameters (3)

The next tab is used to control the logging options. There are currently only a couple of logging locations in the code but these will increase as the component matures and later releases are made available.

Figure 2.4. Parameters (4)

Parameters (4)

The HTML boxes tab is used to provide some additional formating to the timesheet print output. One can enter some HTML code, such as images, formatted boxes, additional CSS files etc as desired which is applied only to the print output. This is explained in more the advanced configuration chapter. An example of the printed output using some simple HTML is displayed in the Front End chapter..

Figure 2.5. Parameters (5)

Parameters (5)

The Permissions tab is the standard Joomla settings screen. Although the component does use ACLs to a limited extent in the main it relies upon the checking of users against the various internal tables to determine what they may or may not do. This tab is not illustrated.

Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries