TinyPortal
Development => Support => Topic started by: estecb on October 03, 2010, 06:29:42 PM
Hi, I know it is possible by doing something like this, somewhere in index.template.php
if (!isset($context['TPortal']['show_single_page']))
{
TPortal_sidebar('left');
// TinyPortal integrated bars
if($context['TPortal']['rightbar']){
TPortal_rightbar();
}
}
Then it won't show both panels in the single article view.
But i'm just not sure... it feels like unnecessary code to me...
Is there a better way to do this?
thanks
We put in the post form some information that needs to be provided in order for us to answer support questions. That information is also in our Posting Guidelines (http://www.tinyportal.net/index.php?topic=581). If you could let us know, we could probably figure out your problem.
SMF version: 1.11
TP version: 0.9.8
Theme name and version: Default.