View Issue Details

IDProjectCategoryView StatusLast Update
11764Feature requests[All Projects] Survey takingpublic2018-11-19 10:55
ReporterDenisChenu Assigned ToLouisGac  
PrioritynoneSeverityfeature 
Status assignedResolutionreopened 
Product Version 
Target VersionFixed in Version3.0 
Summary11764: Allow multiple Move next / move previous / language changer
Description

It can be interesting to have multiple move next / move previous / language changer.

Additional Information

The HTML finalyy was this one for languagechanger
<div class="form-group form-inline ls-language-dropdown">
<label id="langchanger-label">
<span class="control-label">Langue : </span>
<select class="form-control languagechanger form-control " data-targeturl="/answershtml/alternate/awesome/index.php/282267" name="lang" id="lang">
<option value="de-informal">Deutsch (Du)</option>
<option value="en">English</option>
<option value="fr" selected="selected">Fran├žais</option>
</select>
</label>
<button type="submit" value="changelang" name="changelang" class="changelang btn btn-default">Changer de langue</button>
</div>

See the quick HTML view on the screen shot.

And think we are able to do this for movenext/moveprev (in {NAVIGATOR}{MOVENEXT}[MOVEPREV} )

We musr do it before 3.0 release : else we break API

Tagsanswers_html

Activities

DenisChenu

DenisChenu

2016-10-08 11:05

developer  

Capture du 2016-10-08 11-04-25.png (211,612 bytes)
DenisChenu

DenisChenu

2016-10-11 11:04

developer   ~41225

Fix committed to answers_html branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=20950

DenisChenu

DenisChenu

2016-10-11 11:05

developer   ~41226

To be tested , for language changer : without JS : only last must be shown.

DenisChenu

DenisChenu

2018-06-25 11:14

developer   ~48287

Reopen : fix are removed before 3.0 alpha

DenisChenu

DenisChenu

2018-06-25 15:59

developer   ~48292

Last edited: 2018-06-25 16:03

View 2 revisions

https://github.com/LimeSurvey/LimeSurvey/pull/1086

with prev/next/submit and language changer dropdown.

DenisChenu

DenisChenu

2018-11-19 10:55

developer   ~49691

OK,

Can be done in theme : https://gitlab.com/SondagesPro/SurveyThemes/accessible_vanilla/blob/master/views/subviews/navigation/navigator.twig#L7

I think it can be great in default theme

Related Changesets

LimeSurvey: answers_html 1849fc38

2016-10-11 09:09:29

DenisChenu

Details Diff
New feature : 11764: Allow multiple language changer
Dev: without js : only the last in survey form must be shown
Dev: tested in survey list/survey and preview with and without js
Affected Issues
11764
mod - application/controllers/OptoutController.php Diff File
mod - application/controllers/SurveysController.php Diff File
mod - application/core/packages/limesurvey/survey.js Diff File
mod - application/helpers/frontend_helper.php Diff File
mod - application/views/survey/system/LanguageChanger/LanguageChanger.php Diff File
mod - application/views/surveys/publicSurveyList.php Diff File
mod - scripts/numeric-slider.js Diff File
mod - scripts/survey_runtime.js Diff File
mod - templates/base/pstpl/survey.pstpl Diff File
mod - templates/base/pstpl/surveylist.pstpl Diff File
mod - templates/base/pstpl/welcome.pstpl Diff File
mod - templates/base_awesome/pstpl/survey.pstpl Diff File
mod - templates/base_awesome/pstpl/surveylist.pstpl Diff File
mod - templates/base_awesome/pstpl/welcome.pstpl Diff File
mod - templates/default/views/startpage.pstpl Diff File

LimeSurvey: answers_html 77d96196

2016-10-11 09:39:33

DenisChenu

Details Diff
Dev: send id=false to don't have an id Affected Issues
11764
mod - application/views/survey/system/LanguageChanger/LanguageChanger.php Diff File

LimeSurvey: answers_html de87e16f

2016-10-11 11:02:06

DenisChenu

Details Diff
New feature 11764: Allow multiple Move next / move previous /
Dev: Add lmost file in previous commit for language changer
Dev: remove navbuttonsJqueryUi function
Dev: Start reworking template editor to use views, todo : same for ANSWERS part
Affected Issues
11764
mod - application/controllers/admin/templates.php Diff File
mod - application/helpers/frontend_helper.php Diff File
mod - application/views/admin/templates/templateeditor_navigator_view.php Diff File
mod - application/views/survey/question_timer/timer_javascript.php Diff File
add - application/views/survey/system/LanguageChanger/LanguageChangerForm.php Diff File
add - application/views/survey/system/actionButton/moveNext.php Diff File
add - application/views/survey/system/actionButton/movePrevious.php Diff File
add - application/views/survey/system/actionButton/moveSubmit.php Diff File
add - application/views/surveys/LanguageChangerForm.php Diff File
mod - scripts/navigator-countdown.js Diff File
mod - scripts/survey_runtime.js Diff File

Issue History

Date Modified Username Field Change
2016-10-08 11:05 DenisChenu New Issue
2016-10-08 11:05 DenisChenu File Added: Capture du 2016-10-08 11-04-25.png
2016-10-08 11:06 DenisChenu Tag Attached: answers_html
2016-10-08 11:06 DenisChenu Summary Allow multiple Move next move previous button => Allow multiple Move next / move previous / language changer
2016-10-08 11:06 DenisChenu Description Updated View Revisions
2016-10-08 11:06 DenisChenu Additional Information Updated View Revisions
2016-10-10 23:36 DenisChenu Assigned To => DenisChenu
2016-10-10 23:36 DenisChenu Status new => assigned
2016-10-11 09:18 DenisChenu Changeset attached => LimeSurvey answers_html 1849fc38
2016-10-11 09:40 DenisChenu Changeset attached => LimeSurvey answers_html 77d96196
2016-10-11 11:04 DenisChenu Changeset attached => LimeSurvey answers_html de87e16f
2016-10-11 11:04 DenisChenu Note Added: 41225
2016-10-11 11:04 DenisChenu Resolution open => fixed
2016-10-11 11:05 DenisChenu Status assigned => resolved
2016-10-11 11:05 DenisChenu Fixed in Version => 3.0
2016-10-11 11:05 DenisChenu Note Added: 41226
2018-04-06 11:48 markusfluer Status resolved => closed
2018-06-25 11:14 DenisChenu Assigned To DenisChenu => LouisGac
2018-06-25 11:14 DenisChenu Status closed => feedback
2018-06-25 11:14 DenisChenu Resolution fixed => reopened
2018-06-25 11:14 DenisChenu Note Added: 48287
2018-06-25 15:59 DenisChenu Note Added: 48292
2018-06-25 15:59 DenisChenu Status feedback => assigned
2018-06-25 16:03 DenisChenu Note Edited: 48292 View Revisions
2018-11-19 10:55 DenisChenu Note Added: 49691