How to pave the way for the last paintings through gallery modx revo



  • How to pave the way for the last pictures through:

    [[!pdoResources? 
        &sortby=`id`
        &class=`galItem`
        &limit=`1`
    &tpl=`tpl`
    ]]
    

    gauge tpl

    <div class="grid_4 box-2">
        <a href="[[+image_absolute]]" class="magnifier"><img src="[[+thumbnail]]" alt="[[+name]]" [[+image_attributes]] style="width:370px;height:250px;"></a>
            <div class="inside">
                <div class="text-3"><a href="[[~61]]">[[+name]]</a></div>
                <div>[[+description:ellipsis=`100`]]</div>
            </div>
    </div>
    

    Can you tell me what I'm doing wrong?



  • Call. http://docs.modx.pro/components/pdotools/snippets/pdoresources Not specified &includeTVswhich should include the names of additional fields required to be removed (in your case, this is, thumbnail,image_absolute,name,image_attributes) Also relevant &tvPrefix default tv.♪ Accordingly, and in a chanca tpl Dop field values with this prefix are required. Approximately: [[+tv.image_absolute]] [[+tv.thumbnail]]...




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2