Archive Tab Customization

In Archive Tab, I want to made some change
This is how my archive page is looking,

If i add an issue, to my journal. It rearrange like this,

I want to freeze the array row with journal volume.

Any one help with this.

<div class="page-header page-archives-header">

{* No issues have been published *}
{if empty($issues)}
    <div class="page-header page-issue-header">
        {include file="frontend/components/notification.tpl" messageKey="current.noCurrentIssueDesc"}

{* List issues *}

    {foreach from=$issues item="issue" key="i"}
        {if $i % 6 == 0 && $i > 0}
            {assign var="open" value=false}
        {if $i % 6 == 0} <hr>
            <div class="row justify-content-around">
            {assign var="open" value=true}
        <div class="col-md-3 col-lg-2">
            {include file="frontend/objects/issue_summary.tpl" heading="h2"}
    {if $open}
        </div>{* Close an open row *}

    {* Pagination *}
    {capture assign="prevUrl"}
        {if $prevPage > 1}
            {url router=$smarty.const.ROUTE_PAGE page="issue" op="archive" path=$prevPage}
        {elseif $prevPage === 1}
            {url router=$smarty.const.ROUTE_PAGE page="issue" op="archive"}
    {capture assign="nextUrl"}
        {if $nextPage}
            {url router=$smarty.const.ROUTE_PAGE page="issue" op="archive" path=$nextPage}

In the loop, you could get the volume with

{assign var=volume value=$issue->getVolume()}

and then operate on $volume instead of $i

1 Like

Could you please, give where exactly to add the above lines