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">
    <h1></h1>
</div>

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

{* List issues *}
{else}

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

    {* 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"}
        {/if}
    {/capture}
    {capture assign="nextUrl"}
        {if $nextPage}
            {url router=$smarty.const.ROUTE_PAGE page="issue" op="archive" path=$nextPage}
        {/if}
    {/capture}
    {include
        file="frontend/components/pagination.tpl"
        prevUrl=$prevUrl|trim
        nextUrl=$nextUrl|trim
        showingStart=$showingStart
        showingEnd=$showingEnd
        total=$total
    }
{/if}

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