There is a field in the logo table that contains the absolute path to the image. I need to display the logo as an image <image ...> when displayed in the admin in the form of a list <image ...> Did according to the documentation http://octobercms.com/docs/backend/lists#column-partial .

Created a template:

 <img width="64" height="auto" src="{{ value }}"> 

Connected for fields in columns.yaml

 logo: type: partial path: ~/plugins/...../_logo_column.twig 

As a result, Twig does not process this template, everything is displayed in html as it is (with curly braces {{ value }} ). What am I doing wrong?

    2 answers 2

    Resolved: backend twig does not work in templates, there is only php execution

      Here is a working example:

       <?php if($record->project_poster){ ?> <img src="<?= $value->getThumb(40,40, 'crop') ?>"> <?php } ?>