TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 358
  • Total: 358

removing linktree from front page

Started by stog, May 25, 2010, 06:24:17 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

stog

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

ZarPrime

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

This website is proudly hosted on Crocweb Cloud Website Hosting.