Open TPBlocksLayout.template.php.
Find and remove these lines:
if(!empty($context['TPortal']['upshrinkpanel']))
echo '<div style="float: right; margin-top: -1.4em;">', $context['TPortal']['upshrinkpanel'] , '</div>';
Couldn't find that, only this code (code from TP 1.0.5) below:
if($context['TPortal']['centerpanel']==1)
echo '
<div id="tpcenterbarHeader"', (!empty($options['tpcollapse_centerbar']) && $context['TPortal']['showcollapse']==1) ? ' style="display: none;"' : '' , '>' , TPortal_panel('center') , '</div>';
echo '<div class="smalltext" style="float: right; margin: 10px 10px 0 0;">'. $context['TPortal']['upshrinkpanel'] . '</div><br style="height: 2px; clear: both;" />';
That would be because you're using TP 1.0.5. Change the title to reflect that this is code for TP 1.0.6. Can't remember where its at for that version. You'll need to look in the files for where it echo's it out. Search in TPBlocksLayout.template.php (default theme directory) or TPModules.php (Sources Directory) for the line $context['TPortal']['upshrinkpanel'] where it is being echo'd.
Simply removed this line:
echo '<div class="smalltext" style="float: right; margin: 10px 10px 0 0;">'. $context['TPortal']['upshrinkpanel'] . '</div><br style="height: 2px; clear: both;" />';
Now it's gone! Thank you
From where?
Cheers I.B..... this was getting close to the top of my todo list... but have been too lazy to track down where to look.
Is this something that we need to do in 1.0.6? Will there be major problems if we don't? Just testing on my testsite right now.
Marian, some members have asked if this is possible so the code edit was posted by IchBinâ,,¢.
You need not remove the upshrinks unless you wish to do so.
..on the themes I have saw that [margin-top: -1.4em;"] would look better like: :
echo '<div style="float: right; margin-top: -1.6em;">', $context['TPortal']['upshrinkpanel'] , '</div>'; needs u^p a hair bit..imo