• Resolved beucherm

    (@beucherm)


    Hello,
    I am trying to use the plugin. It is working but the result is like this

    <p>Cette formation permet d’atteindre le niveau A2 du CECRL, il est composé de 24 le?ons d’apprentissage et de 6 le?ons de test, avec de nombreuses animations de situations, de grammaire et de vocabulaire.<br />Parmi les objectifs de ce niveau : apprendre ou revoir les bases grammaticales et lexicales, comprendre des phrases et expressions usuelles, décrire simplement son environnement, sa situation personnelle et professionnelle, communiquer de fa?on simple sur des sujets familiers et habituels qui correspondent à des besoins immédiats, se faire comprendre dans des situations simples.</p>

    Can I concvert this in HTLM ?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author berkux

    (@berkux)

    try {FIELD:html}

    Bernhard

    Thread Starter beucherm

    (@beucherm)

    Thanks for your answer but result is the same
    [jsoncontentimporter url=”MY_URL” basenode=”My_basenode”] {goals} {FIELD:html} [/jsoncontentimporter]

    <p>Cette formation permet d’atteindre le niveau A2 du CECRL, il est composé de 24 le?ons d’apprentissage et de 6 le?ons de test, avec de nombreuses animations de situations, de grammaire et de vocabulaire.<br />Parmi les objectifs de ce niveau : apprendre ou revoir les bases grammaticales et lexicales, comprendre des phrases et expressions usuelles, décrire simplement son environnement, sa situation personnelle et professionnelle, communiquer de fa?on simple sur des sujets familiers et habituels qui correspondent à des besoins immédiats, se faire comprendre dans des situations simples.</p>

    Plugin Author berkux

    (@berkux)

    Hi,

    can you post the URL, please?
    Here if it’s ok to be public or in private at
    https://jsoncontentimporter.freshdesk.com/widgets/feedback_widget/new?searchArea=no

    Bernhard

    Hi Bernhard,

    I am having the same problem and I get a raw text instead of HTML formatted.
    I have tested the {FIELD:html} but didn’t work.
    Not only it doesn’t translate the fields, but also the <br> tags.

    Thanks
    Michael

    ok, I found out how the html tag works.

    Nice plugin, really handy.

    Plugin Author berkux

    (@berkux)

    Glad to read that ??

    ok, I found out how the html tag works.

    Hi there

    Your message above, can you explain how you managed to do this?

    Thanks

    Steve

    Hi Steve,

    I had to override a file from the plugin, because I had to create iFrame data field.
    If plugin author agrees, I can write you the file that I had touched.
    Actually I have put below function to handle the transformation.

    private function value2iFrame($valueIn) {
        $ret = $valueIn;
        $reply = html_entity_decode('<iframe sandbox="allow-scripts allow-same-origin allow-popups allow-forms" src="'.$ret.'" frameborder="0" width="320" height="300"></iframe>', ENT_NOQUOTES, "UTF-8");
        return $reply;
    }
    • This reply was modified 3 years, 4 months ago by mpapado.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Convert to HTLM’ is closed to new replies.