• Resolved beucherm

    (@beucherm)


    Hello,

    Thank for this plug in. I am testing it and I would like to know

    Why I have \n on the result
    How to display only a part of my Json file ?

    TExt display on page :

    La formation permet d'acquérir ou renforcer des compétences suivantes :
    
    \n
    \n
    Compétences linguistiques
    \n
    Compétences langagières \u2010 comprendre et s’exprimer en allemand
    \n
    Compréhension écrite \u2010 Textes
    \n
    Compréhension orale \u2010 Enregistrements sonores/Animations/Vidéos
    \n
Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author berkux

    (@berkux)

    Hi,

    depending on what Text is in the JSON you might try one of the following:

    “{street}”: Default-display of a datafield. If HTML is in the datafield-text, the HTML-tags are converted. E.g. “<” is converted to “&lt;” etc.

    “{street:html}”: If HTML is in the datafield any you want to display this as HTML the “:html” reconverts the html-converted text back to html.

    “{street:htmlAndLinefeed2htmlLinefeed}”: Same as “{street:html}” plus “\n”-Linefeeds are converted to HTML-Linebreaks

    “{street:purejsondata}”: In some cases the reconversion of the htmlalized datafield-text is not optimal. This is useful if the datafield-text HTML-Code is not fully htmlalized. E.g. Tags and specialchars (which should be HTML-Code, but are not) are in the datafield-text. “:purejsondata” gives access to the pure datafield-text without any manipulation.`

    Bernhard

    Thread Starter beucherm

    (@beucherm)

    Hi,

    Thank for you answer.

    Where I should write {street} in template text ? have you got an example of use ?

    Plugin Author berkux

    (@berkux)

    Hi,

    that depends on the JSON you have.
    Can you post and URL with the JSON?

    Bernhard

    Thread Starter beucherm

    (@beucherm)

    Plugin Author berkux

    (@berkux)

    try this:

    [jsoncontentimporter url=https://gooformation2.hop3team.com/formations/devenir-un-manager.json basenode=training]
    {goals:html}{description:html}
    [/jsoncontentimporter]
    Thread Starter beucherm

    (@beucherm)

    It is working thank you. It will be same if I will use JCI pro ?

    [jsoncontentimporterpro url=https://gooformation2.hop3team.com/formations/devenir-un-manager.json basenode=training]
    {goals:html}{description:html}
    [/jsoncontentimporterpro]
    • This reply was modified 3 years, 5 months ago by beucherm.
    Thread Starter beucherm

    (@beucherm)

    https://gooformation2.hop3team.com/formations/devenir-un-manager.json
    on this json. how I can do to get only a value statistic or statistic success display with good html:
    “statistic”: 100.0,
    “statistic_success”: 100.0,

    what is the difference with pro ?

    Thread Starter beucherm

    (@beucherm)

    possible to have an answer please ? it will be really helpful

    Plugin Author berkux

    (@berkux)

    Hi,

    try

    [jsoncontentimporter url=https://gooformation2.hop3team.com/formations/devenir-un-manager.json basenode=training]
    {goals:html}{description:html}
    statistic: {statistic}, statistic: {statistic_success}
    [/jsoncontentimporter]

    Questions on the pro plugin not here, please.
    Only at
    https://jsoncontentimporter.freshdesk.com/widgets/feedback_widget/new?searchArea=no

    Bernhard

    Thread Starter beucherm

    (@beucherm)

    Thank you so much for your help.

    Last question . What is the short code to get this information ( level is different )

    https://gooformation2.hop3team.com/formations/devenir-un-manager.json

    “name”: “Demandeur d’emploi”

    Plugin Author berkux

    (@berkux)

    Try {name}

    Thread Starter beucherm

    (@beucherm)

    it is already use at a different level if you check the JSON file. I don’t know how to do

    Thread Starter beucherm

    (@beucherm)

    possible to have a last help ?

    Plugin Author berkux

    (@berkux)

    Try

    [jsoncontentimporter url=https://gooformation2.hop3team.com/formations/devenir-un-manager.json]
    {subloop:training:-1}
    training.name: {training.name}
    {/subloop:training}
    [/jsoncontentimporter]
    Thread Starter beucherm

    (@beucherm)

    it is working. but I don’t understand the logic.
    If I would like to display :

    “description”: “CHAPITRE 1 : Fixer un objectif et mobiliser ses équipes pour l’atteindre.\nCHAPITRE 2 : Communiquer efficacement auprès de ses équipes.\nCHAPITRE 3 : Mener des entretiens individuels motivants.\nCHAPITRE 4 : Animer une réunion de travail.\nCHAPITRE 5 :Développer la culture du feedback et savoir recadrer positivement.\nCHAPITRE 6 : Accompagner le changement.\nCHAPITRE 7 : Anticiper les conflits et se positionner en médiateur.\nCHAPITRE 8 : R

    code should be
    [jsoncontentimporter url=https://gooformation2.hop3team.com/formations/devenir-un-manager.json] {subloop:training:-3}? {training.description} {/subloop:training} [/jsoncontentimporter]

    Where is my mistake ?

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Question on plugin’ is closed to new replies.