News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

How do I Remove Tree Link on Top

Started by dopeitspaul, July 23, 2014, 05:00:24 PM

Previous topic - Next topic

dopeitspaul

Hey everyone I'm new to the SMF. I'm currently in the process of customizing my theme and I was wondering how I can remove the tree link above

Here's a pic


I was trying to remove it and have the one on the bottom remain

Is there a solution to thiss? Thanks

Chalky


dopeitspaul

Thanks for the help

Just installed the mod successfully but none of the options on the mod helped. The Link Tree above is still displayed above.

margarett

It should work, I'm using it.

Anyway you can easily remove the associated code in index.template.php (I'd tell you exactly where if I was on the computer...)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

dopeitspaul

Quote from: margarett on July 23, 2014, 06:03:53 PM
It should work, I'm using it.

Anyway you can easily remove the associated code in index.template.php (I'd tell you exactly where if I was on the computer...)

For some reason it's not working on mine.
On the Menu of the mod, which one did you check?

And if you have time on the computer, can you show me where exactly? Thanks!

margarett

The last option, hide it completely.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

dopeitspaul

Quote from: margarett on July 23, 2014, 06:31:07 PM
The last option, hide it completely.

Sorry it didn't work. It just removed everything



What I wanted was to have the link tree that's shown above of the page to be removed.

and

I only want the link tree on the bottom of the page to be displayed

margarett

Ah, you are right, I'm sorry. Yes it does remove both because they use the same CSS class.
I'm that case you really need to remove the linktree call in index.template.php (because the lower one is added by each template)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

dopeitspaul

Quote from: margarett on July 23, 2014, 06:39:33 PM
Ah, you are right, I'm sorry. Yes it does remove both because they use the same CSS class.
I'm that case you really need to remove the linktree call in index.template.php (because the lower one is added by each template)

Thanks!

And what do you mean "linktree call"?

Hj Ahmad Rasyid Hj Ismail

I noted this. I will update the mod so that it will add an option to remove only top linktree and not all of them. I will update later.

dopeitspaul

Quote from: ahrasis on July 23, 2014, 08:30:42 PM
I noted this. I will update the mod so that it will add an option to remove only top linktree and not all of them. I will update later.

Nice! Thank you, let me know

Sir Osis of Liver

If you want to do it yourself -

index.template.php



// Show the navigation tree.
theme_linktree();



Just comment it out, will remove top linktree only.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Hj Ahmad Rasyid Hj Ismail

Yes. That's the manual mod for it. Or you can use the updated version (#1.1) of MLT: Modify Linktree Mod.

dopeitspaul

Thanks guys it worked. Appreciate all the help. Might have more questions on the way since I'm new to SMF

Bounty_y2k

Quote from: Krash on July 24, 2014, 12:17:08 AM
If you want to do it yourself -

index.template.php



// Show the navigation tree.
theme_linktree();



Just comment it out, will remove top linktree only.

This is working good. But,what do I need to comment out to remove only the bottom one? :P

Hj Ahmad Rasyid Hj Ismail


Advertisement: