Problem/Motivation
The display name setting on the quiz settings page doesn't save.
Steps to reproduce
1. navigate to admin/quiz/config/quiz
2. enter a different text into the display name setting text box, ie "Assessment"
3. click the "Save configuration" button
Proposed resolution
The setting should save and the new word(s) should show in the front end
Not sure if this is supposed to work yet or not, but I didn't see an existing issue for yet.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | display_name_not_saving_3189269_2.patch | 812 bytes | jacobbell84 |
| #3 | display_name_not_saving_3189269_1.patch | 776 bytes | happy047 |
Comments
Comment #2
WorldFallz commentedComment #3
happy047 commentedI got the same issue. After saving, the updated name was not displaying. Created a patch for the issue
Comment #4
jacobbell84 commentedDoing a reroll for the latest release
Comment #5
djdevinThis doesn't make sense, it creates a configuration key called (literal) '\Drupal\quiz\Util\QuizUtil::getQuizName()'
Comment #6
djdevinI think we should actually deprecate this functionality.
Entities in D8 have multiple ways of representing the title, for example as singular, plural, and in lists.
So if you put in "Assessment" we'd have to assume that the plural was "Assessmentes" which is incorrect.
Unlike Drupal 7 in D8+ we have Quiz types so you can specify a label per bundle (visit admin/quiz/quiz-types/manage/quiz) so maybe we should use that instead of a configuration item.
Comment #7
djdevinComment #8
djdevinComment #9
djdevinLet's do #3252769: Allow te set a display label per quiz type instead.
Comment #10
deelite commentedMy solution here is https://www.drupal.org/project/stringoverrides.