Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas

Contributor apps on the Templates category

Harmonization of navigation buttons  
Written by apps the 23 Feb 10 at 14:39. Related project: 1.x all. In development
All possible transitions (of pages, of state) a survey can undergo by user interaction are:
- start
- resume a survey
- save the survey
- cancel and exit
- go prev
- go next
- end

The state of the art is a non-homogeneous implementation:
- Exit and clear = < a> tag with a fixed url carrying a crucial get parameter
- Load unfinished = < input> tag with type="submit" and crucial value "Load unfinished survey"
- Save = < input> tag with type="submit" and crucial value "saveall"
- < < prev = < input> tag with type="Submit" and crucial value "< < Prev"
- next>> = < input> tag with type="Submit" and crucial value "Next>>"
- start = < input> tag with type "Submit" and crucial value "movenext"
- end = < input> tag with type "submit". Value unknown at the time of writing this.

These should be harmonized: use the same tag and discriminate over one (single) parameter.
4
votes
inprogress
Selected solution (#1): Transform Exit&Clear into < input>
Written by apps the 23 Feb 10 at 14:39.
This way, the less effort is required, since the other action are already unified into a < input> tag

At the end, all possible actions will be < input>s.

Add a comment or propose a solution >>

make it clear that template.js will not be used in BASIC TEMPLATE  
Written by apps the 9 Feb 10 at 14:59. Global category: Templates. Implemented
template.js is the natural place of all user javascripts

BASIC TEMPLATE has the peculiarity of not using template.js because it lacks the proper inclusion of it.

In the Template Editor, template.js is always shown, even if it's not called inside *pstpl. When editing BASIC template, you can edit template.js, bit it will not be loaded at runtime.

I suggest to make it crystal clear that this is the default behavior.
If not, the user may waste time in debug & design, until he notices that his javascripts are not there and fix the basic template.
Also, COPYING BASIC for your own work will result in inactivated template.js, so the issue reinforces itself in the copies/clones
1
votes
implemented
Selected solution (#1): add a commented inclusion
Written by apps the 9 Feb 10 at 14:59.
add at least a commented inclusion
< !-- < script type="text/javascript" src="$TEMPLATEURL$template.js"> -->
so that the designer guy can learn-by-reading that the user javascripts starts inactivated with BASIC, also he'll quickly reactivate template.js if he'll have to.

Add a comment or propose a solution >>