Menu

Hyperlink Placeholders Work as Buttons in iTop Email Templates are Not Working

Sunilkumar
2025-01-31
2025-02-03
  • Sunilkumar

    Sunilkumar - 2025-01-31

    ++
    Snap reference of Issue facing

     

    Last edit: Sunilkumar 2025-01-31
  • Karthik Kanthaswamy

    ++1

    I have the same issue and ended up giving just the ticket reference, I think the twig templating is performing some kind of escaping which is leading to the breaking

    I'm also in need to solution

     
  • Molkobain

    Molkobain - 2025-01-31

    Hello,

    Using $this->html(hyperlink('portal'))$ is a bad practice and won't give anyting good. You should either:
    - Use $this->hyperlink('portal')$ if you want an HTML hyperlink (<a>tag)
    - Use $this->url('portal')$ if you want the raw URL so you can use it in your own HTML markup (e.g. button styled elements)

    Hope it helps,
    Guillaume

     
  • Sunilkumar

    Sunilkumar - 2025-02-03

    Hi Molkobain

    Thanks for your suggestion. It is working as expected..!

     
  • Molkobain

    Molkobain - 2025-02-03

    Glad to see it helped! :)

    Take care,
    Guillaume

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.