TinyPortal
Development => Support => Topic started by: javier on December 18, 2009, 03:34:14 PM
Hi,
I want to know how to remove this from the frontpage, i saw in some sites and im not found a way to remove.
I attached a image showing what i want to remove, i think its called "link tree" i only want to remove from the portal frontpage, not from the whole site or the forum index.
Tinyportal version: 0.983
My frontpage configuration its:
What to show on front page: Front page blocks
How frontblocks will be shown: Frontblocks are added first
Visual options for frontpage:
Left side blocks on
Right side blocks on
Center-Blocks on
Show userinfo/news at the top on
Thanks in advance.
desde ya muchas gracias
saludos
I'm not sure which one that is. Try opening the TPmodules.template.php file in the default theme and commenting out this code. It's close to the top of the file.
// show the linktree
theme_linktree();
Comment out like this:
// show the linktree
//theme_linktree();
See if that works. If not, post back and I'll take another look.
Hi thanks for reply, not works but i made the following:
In TPortal.template.php i made this modification and remove out the linktree from frontpage only :) i think.
// show the linktree
//if((isset($context['TPortal']['boardnews'][0]['options']['linktree']) && $context['TPortal']['front_type']!='frontblock') || $context['TPortal']['front_type']=='frontblock')
// echo '
//<div style="margin-bottom: 4px;">', theme_linktree() , '</div>';
ItÃ,´s thats ok or these lines are necessary for other sections?
grettings
Javier
I think that is only for displaying on frontpage, and above articles if set in article options. Should be ok. You can always revisit this if you need it to display for some other reason.