TinyPortal
Development => Support => Topic started by: stog on May 25, 2010, 06:24:17 PM
hi
i have been searching 'remove linktree' and trying out suggestions as i want to remove the linktree from the top of my front page (which is headed by 2 forum posts), but keep it elsewhere. see attached pic
i am on 1.1.11 with tp 1 beta 5 .1
i found some code edits for someone with a premium theme liquidweb on 1.1.10 with 1 beta 4
but could not find the code to edit in my index.template.php file
the edits suggested by ich were
ok, open the index.template.php file and make this edit:
Find this code:
Code: [Select]
' , template_linktree() , '
Replace with:
Code: [Select]
' , $context['TPortal']['in_forum'] ? template_linktree() : '', '
can someone point in the right direction? thx :)
he had also suggested
I think for TP you can just remove this from TPortal.template.php
Code: [Select]
if($context['TPortal']['linktree_show'])
echo '
<div style="margin-bottom: 4px;">', theme_linktree() , '</div>';
but again i couldn't find the requisite code
Hi stog,
You aren't the first person to request this. I am not familiar enough with the new code in TP 1.0 beta 5 (and later) to answer your question right now. Hopefully, one of the others that is more familiar with the code can help. You are not the first person to request this obviously. For this reason, I have put this in as a feature request for a future version of TinyPortal. Hopefully, Bloc will add this feature sooner rather than later. Here's the feature request if you are interested ...
http://www.tinyportal.net/index.php?action=bugtracker;sa=bug575
ZarPrime