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

Popular ideas Here are this week's most popular ideas about LimeSurvey.

Use a dedicated template engine  
Written by tacman1123 the 1 Feb 12 at 23:50. Global category: Templates. New
Templating is great, but there's no reason that Limesurvey should have its own.
0
votes
up equal down
Solution #1: Use TWIG or Smarty in LS2
Written by tacman1123 the 1 Feb 12 at 23:50.
Both Twig (http://twig.sensiolabs.org/) and Smarty (http://www.smarty.net/) are dedicated template engines in PHP that can be used as the V part of a MVC framework. They're fast and support caching. Both use a decorator design pattern, much more flexible that the traditional set of "includes" that force the designer to add all sorts of "if" statements in a complex environment.


Add a comment or propose a solution >>

Final or thanks message in closed surveys  
Written by filhocf the 2 Feb 12 at 14:58. Global category: Logic & Conditions. New
When we need to close a survey, can expire or close it.

In both cases, to show a message explain the end of survey and saying some thing like a "thanks by interesting".

0
votes
up equal down
Solution #1: Add more a field
Written by filhocf the 2 Feb 12 at 14:58.
In the "Edit text elements", to add more one field for final message, that will filled with a thanks text or explanation about the closing of survey.

Is more a consideration's question that a tecnical's question.

Add a comment or propose a solution >>

I don't think a user should have to manually update the config-defaults.php fil  
Written by nickheycats the 8 Feb 12 at 00:33. Global category: Logic & Conditions. New
To set advanced setup configuration settings a user has to manually update the config-defaults.php file. When an the survey engine is upgraded, extra changes need to take place in the config-dfeaults.php file.

Sorry, this request does not fit well with any of the Global categories.
0
votes
up equal down
Solution #1: Allow setting advanced setup variables in the config.php.
Written by nickheycats the 8 Feb 12 at 00:33.
For instance, if someone needs to override the $publicurl value, it has to be done in the config-defaults.php. When a user creates their config.php, they might have all the information they need to set the $publicurl, yet they cannot set the value in the config.php.

By updating the config-defaults.php to first check if the variable has been set, we can keep the user's version of the variable and set a default if needed.

$publicurl = isset($publicurl) ? $publicurl : "$rooturl";

Of course there are several ways to do this same logic.

With the code above, if a user were to set a value for $publicurl in their config.php, it would not be overwritten by the config-defaults.php. If the user does not set the value manually, the value will still be set to the default value.

Add a comment or propose a solution >>

allow token fieldname instead of attribute_1, autoimport  
Written by tacman1123 the 5 Feb 12 at 13:06. Global category: Tokens. New
When I import a CSV file into the tokens table, using attribute_1, attribute_2, etc., is awkward, I'd much rather use company_name, website, etc., whatever my fields are.

Then conditions and defaults could use those same names, e.g. TOKEN:COMPANY_NAME

An auto-import function would be nice, something that could take a file like

email,website,company_name,year_founded,industry

and import it into the tokens table, automatically adding any new fields that weren't there.
0
votes
up equal down
Solution #1: add fieldname in tokens definition
Written by tacman1123 the 5 Feb 12 at 13:06.
When tokens are defined, instead of merely asking "how many", it would need to change to a list format that asked the field names (and types, but that's a different issue!)

Add a comment or propose a solution >>

3 solution for hide_tip  
Written by Shnoulle the 4 Feb 12 at 13:56. Global category: Templates. New
In 1.92, there are a lot of new tip ( EM validation etc ..)

Maybe we ca have multi solution for hide_tip option:

0 : allways show ( default)
1 : hide in css and show if error ( actual no)
2 : completely remove tip ( even in HTML)

Because, maybe there are some user who don't want tip, but want use help text like a tip :).
0
votes
up equal down
Solution #1: Modify the attribute hide_tip in a list
Written by Shnoulle the 4 Feb 12 at 13:56.
0 : allways show ( default)
1 : hide in css and show if error ( actual no)
2 : completely remove tip ( even in HTML)

Add a comment or propose a solution >>