We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 52860
    • 10 Posts
    Hi Ysanmiguel,

    If your question is related with backend MigX form for results listings, I suggest to edit your schema on the MigX editor, navigate to "columns" and then edit the column that you mentioned.
    Then on the tab "Renderer", on the field "Renderer" pick "this.renderChunk".

    Then on the field "Render Chunk Template" you can use regular ModX tags.

    Here is an example of mine:
    [[+pdf_inscr:contains=`assets/templates/project/uploads/cursos/pdf`:then=`
         <a href="[[++site_url]][[+pdf_inscr]]" target="_blank">
              <img src="[[++site_url]]assets/templates/project/images/adobe_pdf.png" width="45" border="0" title="Ver Ficha" />
         </a>
    `:else=`
         <img src="[[++site_url]]assets/templates/project/images/adobe_pdf.png" width="45" border="0" title="Ficha indisponível. Deve re-gerar a ficha após inserção dos dados" style="filter: grayscale(100%);-webkit-filter: grayscale(100%); opacity: 0.5" />
    `]]
    


    As per my understanding of your needs, here is my suggestion:
    [[+description:strip_tags:truncate:ellipsis=`150`]]
    


    This should make the trick.
    Please let us know if this worked for you.

    Cheers.
    J.Nogueira [ed. note: jnogueira last edited this post 7 years, 7 months ago.]