View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
19572Bug reportsSurvey takingpublic2024-05-23 14:40
ReporterTonisOrmisson Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version6.5.x 
Summary19572: beforeSurveyPage event is not changing the display template
Description

Attaching another template (different from the one attached to survey by default) via beforeSurveyPage event does not change the displayed survey template.

The event has only possible output defined by the manual:

The following information can be set in the event:
template The name of the template to use

Steps To Reproduce

Steps to reproduce

  1. Use some plugin to subscribe to beforeSurveyPage event
  2. Change the event attribute 'template' to some other existing template name (different from the one used in survey)
  3. open a survey page

Expected result

Survey is displayed with the template defined via plugin

Actual result

Survey is displayed with the template defined via survey settings (ie: plugin settinig has no effect)

TagsNo tags attached.
Bug heat0
Complete LimeSurvey version number (& build)6.5.9
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmysql
Server OS (if known)
Webserver software & version (if known)
PHP Version8.2

Users monitoring this issue

There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-05-23 14:40 TonisOrmisson New Issue
2024-05-23 14:40 TonisOrmisson File Added: image.png
2024-05-23 14:40 TonisOrmisson File Added: image-2.png
2024-05-23 16:13 TonisOrmisson File Deleted: image.png
2024-05-23 16:13 TonisOrmisson File Deleted: image-2.png