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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 515
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 431
  • Total: 431

Dumb question

Started by shadrach, December 21, 2006, 08:19:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shadrach

I'm trying to get rid of the folder icon and link here on my front page. How do I do that?

http://distorted-logic.com/index.php

JPDeni

Open TPortal.template.php in your theme directory. If you don't find it in your theme directory, look in Themes/default/.

Look for

// 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>';


Delete that code.

Basically, you want to get rid of the call to theme_linktree().

shadrach

There is no TPortal.template.php in there. Its the Blue101 theme

G6Cad

If you dont have the files in the themes, the themes will use the files from the default theme, so look for the file in your themes/default directory and make the edits there as JPDeni described :)

shadrach


iwyen

Make a copy of TPortal.template.php to Blue101 and amend that copy. Saves you some problem in the long run when TP needs to update TPortal.template.php

G6Cad

Good call there iwyen  :up:

EERocket

Hey guys, got another dumb one for ya. Just got smf1.1.1 and TP 97 updated and running great. I was in the proccess of reinstalling my mods and wound up with what looks like my mods script running at the top of my indexs.

Im not needing mod help, but the mod was Users online today 1.4.0
I made sure I was in the default theme before starting th install and the mod actualy worked corectly. Its just this blasted text that I cant seem to locate. Below is the text appearing at the top of the pages and a link if anyone would like to glance at it.

$txt['uot_users_online_today']='Users Logged In Today'; $txt['uot_yesterday']='Yesterday at '; $txt['uot_total']='Total'; $txt['uot_visible']='Visible'; $txt['uot_hidden']='Hidden'; $txt['uot_users_online_today']='Users Logged In Today'; $txt['uot_yesterday']='Yesterday at '; $txt['uot_total']='Total'; $txt['uot_visible']='Visible'; $txt['uot_hidden']='Hidden';

Any advice, greatly appreciated.    http:theconcordiaunderground.org/forums


Nokonium

You have code in the wrong place in your index template. The users on line mod, uol, has caused it. Do you have the correct version installed?

EERocket

As far as I know its the correct version. I never saw any errors and I used the package handler. Everything tested fine. Can I uninstall the mod and manualy edit the text from the index template or is it not going to be that simple.


This website is proudly hosted on Crocweb Cloud Website Hosting.