News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Brown Shades

Started by Shades., September 30, 2022, 12:10:33 AM

Previous topic - Next topic

-Rock Lee-

@RetroArchiv You would have to do something like this in the BoardIndex.template.php

Code (Seek) Select
foreach ($context['info_center'] as $block)
    {
        $func = 'template_ic_block_' . $block['tpl'];
        $func();
    }
Code (Replace) Select
foreach ($context['info_center'] as $block)
    {
        if ($block['tpl'] == 'recent')
            continue;

        $func = 'template_ic_block_' . $block['tpl'];
        $func();
    }

And then
Code (Seek) Select
function template_boardindex_outer_above()
{
    template_newsfader();
}
Code (Replace) Select
function template_boardindex_outer_above()
{
    template_newsfader();
    template_ic_block_recent();
}


Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Shades.

Theme Updated:

1. Version 2.1.4 : 06/29/2023
Updated Theme for SMF 2.1.4
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Advertisement: