1. DMTGMBH
  2. Support
  3. Wednesday, March 31 2021, 08:20 AM
How can we use html with checkboxes and radio buttons? E.g.

1. The users can select languages, which should be displayed as flags:
Deutsch|<img src="/de_de.png">
English|<img src="/en_en.png">


or the user should select associated websites/pages, which should be displayed as links:
Website 1|<a href="website1" target="_blank">Website 1</a>
Website 2|<a href="website2" target="_blank">Website 1</a>

Any tipps are welcome. Many thanks!
Accepted Answer
admin Accepted Answer
Admin
Hi,
this is possible with a workaround. The options does not support HTML code but it can support language constants.

So you can do something like this:
- Set options like:
Website 1|OPT_SITE1
Website 2|OPT_SITE2
....

- Go to Extensions->Languages->Overrides
- For each language create new translations like attached screenshot
Attachments (1)
  1. more than a month ago
  2. Support
  3. # Permalink
DMTGMBH Accepted Answer
Pro
Many thanks, that works fine...
  1. more than a month ago
  2. Support
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.