SimplePortal

Customization => Custom Coding => Topic started by: Nas on December 22, 2008, 05:34:43 AM

Title: Move blocks
Post by: Nas on December 22, 2008, 05:34:43 AM
/me is lazy

I'm creating a custom theme for my site and need to move the left side blocks a bit.
Where's the code displaying them?

/me is lazy
Title: Re: Move blocks
Post by: ???1031 on December 23, 2008, 05:07:49 AM
/me is lazy too
Look into the SPortalBlocksXXX.template.php *runs*





Okay joke biside ;)
Somwhere around
Code: [Select]
if(!empty($modSettings['showleft']) && !empty($context['SPortal']['blocks']['Left']))
{
echo '
<td valign="top"', !empty($modSettings['leftwidth']) ? ' width="' . $modSettings['leftwidth'] . '"' : '', '>';

foreach ($context['SPortal']['blocks']['Left'] as $block)
template_block($block);

echo '
</td>';
}
SimplePortal 2.3.8 © 2008-2024, SimplePortal