Jump to content

Recommended Posts

Posted (edited)
33 minutes ago, opentype said:

One could however create listing templates that look like those frontpage/article views. 

This is what I do regularly. Example for recordRow in Listing Template:

<div id='elTable_{$table->uniqueId}1' data-role="ipsGrid">
    {{$articles = $rows;}}
    {{foreach $articles as $id => $record}}
        <div class="ipsBox ipsSpacer_top{{if $record->hidden()}} ipsModerated{{endif}}" data-rowID="{$record->_id}">
            {template="entry" app="cms" location="database" group="FXPages_Blog_List_Category_Articles" params="$record, $record::database(), $table"}
        </div>
    {{endforeach}}
</div>

I just replace everything belonging to the row with an entry from Featured template.

Edited by Sonya*
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...