News:

Wondering if this will always be free?  See why free is better.

Main Menu

Remove forum title from linktree

Started by John1, June 25, 2010, 06:54:34 AM

Previous topic - Next topic

John1

Hello, I need to remove the title of the forum from linktree. it is too long. Just the title. thanks.

Hj Ahmad Rasyid Hj Ismail



Hj Ahmad Rasyid Hj Ismail

So sorry. It is Load.php not Subs.php.

Find
// Set the top level linktree up.
array_unshift($context['linktree'], array(
'url' => $scripturl,
'name' => $context['forum_name_html_safe']
));


If you want to totally remove your forum name out of the linktree, replace the above with:

// Set the top level linktree up.
/* array_unshift($context['linktree'], array(
'url' => $scripturl,
'name' => $context['forum_name_html_safe']
)); */


Or if you want to put Home (whatever name that you want) instead of your forum name in the linktree, replace the first with:

// Set the top level linktree up.
array_unshift($context['linktree'], array(
'url' => $scripturl,
'name' => 'Home',
));


John1

Thanks a lot but its not working yet.

I changed the code to the second one, then saved and cleared the cache, the forum name is still on the link tree.

I will awit a few more time to see if it will take effect.

Hj Ahmad Rasyid Hj Ismail

There is two 'name' => $context['forum_name_html_safe'] in Load.php. Make sure you DO NOT change the one that is under here:

// The linktree should not give the game away mate!
$context['linktree'] = array(
array(
'url' => $scripturl,
'name' => $context['forum_name_html_safe']
));


Only change the one that I have given above.

John1

Removing both of them did not even remove the linktree.
I removed the correct one initially, then used the code you sent for replacement , the one with /* code here */

none worked. I guess this have something to do with indextemplate.php.

Hj Ahmad Rasyid Hj Ismail

It works here: http://ahrasis.com

Please attached your Load.php file...

Advertisement: