Fork me on GitHub

Store and display Textarea with special characters  Bottom

  • Hi all!

    In a custom module I have a textarea for input text. When I store the text in DB, I use the function pnVarPrepForStore. Then, when i want show the text, I use in the template $variable|pnvarprepfordisplay
    The problem is when in the textarea, I use characters how ". This is display how &_quot_; (without underscore _)
    I think that it is the process is the "standar code" of Zikula.
    What's wrong?

    Thanks for all



    Edited by krator on Sep 14, 2011 - 05:37 AM.
  • In your template, change the output from "prepfordisplay" to "preptohtmldisplay".
  • The sentence is pnVarPrepHTMLDisplay. A lot of thanks!
  • Yes, you are correct.
  • 0 users

This list is based on users active over the last 60 minutes.