Category: Web Building

dotProject Recipe: add a “Complete this task” checkbox to todo list

completionCheckbox.jpg

To allow one-click completion of a task, we added a checkbox to each row of the task “to-do” lists in dotProject.

Usually I try to borrow functions from other places in the application and adapt them to the new location. In this case the completion function was borrowed from the “progress” drop-down menu, on the add-edit Task screen.

The check box submits the same values as if 100% were selected from the drop-down menu.

Continue reading

Implementing search using indexing services and asp

I wanted to add a search function to the learning modules housed in our learning management system. These modules are of several types, most are HTML/javascript-based modules, but there are also flash, pdf, and MS producer ones as well. Many of them are meant to be viewed while under SCORM control, so it is important that the search feature not interfere with SCORM communication by allowing the user to navigating away from the current module or by removing the surrounding frameset.

When under SCORM control, the script must be able to detect which module is current, and search only within that directory. When not under SCORM control, the user can have the option of searching all content on the server.

It is also important to be able to hold obsolete or private items out of the search.

Continue reading

Explanation of relative, absolute, network and web paths

Paths can be one of the most confusing aspects of web development. Most web designers are familar with absolute paths and relative paths:

Absolute paths point to files that can be anywhere on the internet. They don’t assume any relative location to the current document. An absolute path to a file will always be the same, no matter where the link to it is located.

Example of an absolute path:

http://yourdomain.com/directoryname/otherfile.htm

Continue reading

Limiting number of tries on Perception Quizzes under SCORM control

When Questionmark Perception is launched from an LMS using SCORM, Perception’s built-in user management system can’t be used. Perception receives user data from the LMS, and although it stores that data with the results of the quizzes, it can’t use the data for purposes of scheduling and limiting access to quizzes.

Unfortunately, our LMS, SumTotal 6.5, does not have a good way to limit attempts on a learning activity either. There is a rather inflexible option: If you set any learning activity to “allow access upon completion,” after the activity has been completed once, the user will only be able to launch the activity for purposes of browsing, but never take it again for credit. In other words, the user can not enroll again.

This isn’t always the best solution. For example, we wanted to allow two or three tries, depending on the quiz, and we never allow users to browse old quizzes.

Continue reading

Can’t paste text into a file within Dreamweaver 8

Working on a Dreamweaver site the other day, I tried to paste text from an email into the page. When CTR-V didn’t work, I tried the menu – but the paste option was grayed out.

It turns out this has something to do with having moved the site files panel over to the left monitor. (Yet another glitch in Window’s implementation of a two monitor setup.)

The solution is:

Close DW8 and Navigate as follows:
– Documents and settings
– Administrator or whatever your user account name is
– Application data
– Macromedia
– DW8
– rename the “configuration” folder

Restart Dreamweaver 8 – the problem should be gone.

Continue reading