View Issue Details

IDProjectCategoryView StatusLast Update
09735DevelopmentExpression Managerpublic2026-11-20 15:21
ReporterDenisChenu Assigned To 
PrioritynormalSeverityminor 
Status acknowledgedResolutionopen 
Summary09735: templatereplace reworking
Description

Actually templatereplace is used everywhere, but a lot must be moved to EM (i think) or to a specific replacement ?

Steps To Reproduce

-

Additional Information

Some replacement can be in EM/SurveyStart

  • TEMPLATEURL
  • SID
  • DATESTAMP

etc ...

Some replacvement can be moved to $aReplacement

  • ANSWERSCLEARED
  • ASSESSMENTS
  • ASSESSMENTS_HEADING
  • LOADMESSAGE

etc ....

Some specific replacement

  • GID : only for EM group
  • SID : only for EM question
    ????

The problem : we are never sure if user don't use it elsewhere : can break survey

TagsNo tags attached.

Relationships

child of 09722 closedDenisChenu Bug reports Some core replacement are not updated for hidden group 

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-11-20 15:21

administrator   ~87822

Moved to Development because this is a refactoring task, not a bug.

Current situation in 7.x: Since 3.x the page layout comes from the Twig themes, so most of the original reasons for this ticket are gone. templatereplace() is still used, mainly to run survey texts through Expression Manager. Many of its keywords are now always empty (for example {SAVE}, {CLEARALL}, {RESTART}, {NAVIGATOR}) and could be removed. The risk mentioned above still applies: surveys may use these keywords in their texts, so removing them would change what those texts show.

Issue History

Date Modified Username Field Change
2015-06-30 17:58 DenisChenu New Issue
2015-06-30 18:04 DenisChenu Relationship added child of 09722
2026-11-19 22:50 c_schmitz Status new => acknowledged
2026-11-20 15:20 c_schmitz Project Bug reports => Development
2026-11-20 15:21 c_schmitz Note Added: 87822