michael-milette / moodle-filter_filtercodes

FilterCodes filter for Moodle enables content creators to easily customize and personalize course and site content using plain text tags (no HTML). For premium support, contact us at https://www.tngconsulting.ca/contact
https://moodle.org/plugins/filter_filtercodes
GNU General Public License v3.0
30 stars 42 forks source link

Bug: {sesskey} is not resolved #295

Closed Bjoern-Ge closed 4 months ago

Bjoern-Ge commented 4 months ago

Prerequisites

What happened?

I tryed to use the code {sesskey} in moodle-html. It was then shown as {sesskey} in the test.

What do you think should have happened?

I expected that {sesskey} is replaced by the actual value. Other codes worked at the same spot.

Steps to reproduce

  1. Login as admin
  2. Go to a course
  3. Add a text field with the text {sesskey}
  4. See {sesskey} instead of the key.

Screenshots

grafik

grafik

Moodle version

4.1

Installed Moodle UI Language packs.

If other language(s), please specify

en, de, de_du, uk

Workaround

No response

Additional information

No response

System information

Client Device type: Laptop Client Operating System: Win11 Client Web Browser: Firefox Server Operating System: Debian Server Webserver: nginx Server PHP:8.0

Code of Conduct

michael-milette commented 4 months ago

Hi @Bjoern-Ge ,

Is sesskey enabled in the FilterCodes settings?

Best regards,

Michael

Bjoern-Ge commented 4 months ago

Hi @michael-milette , thanks for your fast replay. It wasn't enabled in the settings. Now it works. Best regards, Björn