TheDesignspace
Mistakes I make when editing Questionmark Templates


May 19, 2004
Questionmark Perception

The single biggest mistake I make REPEATEDLY in editing Questionmark's templates is: (drumroll)
adding in the # symbol in color specifications.

Questionmark interprets the # symbol as a comment, and omits everything after the # up to the next line break. This can make for some interesting troubleshooting sessions.

The second biggest mistake I ever made was to forget to ensure that my text editor was set to "linebreaks: CR LF (Windows) "
Using Unix type linebreaks will work, but not entirely.
Using Macintosh type linebreaks will cause extreme voodoo.

Posted by ellen at May 19, 2004 12:49 PM | TrackBack

 Comments

There are two more mistakes I would like to add:

1. Not putting a space after an equals sign. The text before ends up interpreted as a tag.

window.location="questionmark.com"

window.location= "questionmark.com"

2. You might end up adding another section to the template besides [Document]. There are a number of other sections. If you place a tag in the wrong section, it doesn't work.

For Example:

CORRECT

[Document]
BLACK=##000000
RED=##FF0000
[Answer]
ESSAY=
%START_QUESTION_essay%
%ANSWER.CONTENT%
%END_QUESTION_essay%
%ANSWER.COMMENT%

INCORRECT - BLACK GOES UNDER DOCUMENT
[Document]
RED=##FF0000
[Answer]
BLACK=##000000
ESSAY=
%START_QUESTION_essay%
%ANSWER.CONTENT%
%END_QUESTION_essay%
%ANSWER.COMMENT%

Posted by: Tom Gilkison on October 9, 2007 1:04 PM

Hey, thanks, these are excellent additions.

Posted by: Ellen on October 9, 2007 10:05 PM
 Post a comment
Name:


Email Address:


URL:


Comments:


Remember info?



Recommended Reading