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.

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