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 the template to break.


Ads by Google

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

2 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%

Hey, thanks, these are excellent additions.


Ads by Google

 RSS   |   Contact Me

Ads by Google

Ads by Google