TinyPortal

General => Chit chat => Topic started by: oneway on May 23, 2006, 02:33:10 PM

Title: Menu: changing 'Forum' to 'Community'?
Post by: oneway on May 23, 2006, 02:33:10 PM
1. The 'Forum' link in the Menu linktree seems to be a default, example below.

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fforum.twm.cc%2Fimages-extras%2Ftp-001.jpg&hash=f9d87dc24683e9d2fcdf16e9cb9c487d8fdf2739)

At least I haven't been able to see where it may be changed. If someone knows how I could change it to 'Community', please tell me which .php file to go to.


2. For that matter, in the example above is it possible to also change the 1st entry, 'the Bloc Zone', to something different? - different from all other entries I mean. That is, I can change it by changing the name of the Forum of course, but what if I want something quite different, e.g., 'Bloc Zone Website'.

Thanks!

Edit: the example is from the Epsilon Theme.
Title: Re: Menu: changing 'Forum' to 'Community'?
Post by: Crip on May 23, 2006, 02:40:44 PM
index.template.php thats the [link_tree] .. i think?
Title: Re: Menu: changing 'Forum' to 'Community'?
Post by: oneway on May 23, 2006, 04:56:01 PM
Quote from: crip on May 23, 2006, 02:40:44 PM
index.template.php thats the [link_tree] .. i think?
Yea, thanks man, you're right, the main linktree code I can find is in index.template.php, and I've done as much as I can there (and other places like style.ccs). But below is apparently what puts 'Forum' in by default, and no way I can "unscramble" it with my level of code knowledge!

// Show the link, including a URL if it should have one.
echo ($link_num != count($context['linktree']) - 1) ? '' : '<b>', $settings

['linktree_link'] && isset($tree['url']) ? '<a href="' . $tree['url'] . '" class="nav">' .

$tree['name'] . '</a>' : $tree['name'], ($link_num != count($context['linktree']) - 1) ? ''

: '</b>';


In any case, I have some doubts that it's possible to change 'Forum' to 'Community' via this piece of code. For example:

$tree['name']

is apparently what puts the various links in, cos I can change 'Forum' by replacing the above code with the word 'Community', but then not surprisingly all of the links become 'Community' - not terribly helpful!

So I remain hopeful some kind person may know how to do this (if it's possible)...
Title: Re: Menu: changing 'Forum' to 'Community'?
Post by: G6Cad on May 23, 2006, 05:00:59 PM
The first link in the tree is actually the "forum name"

That you can change from adminpanel and server settings
Title: Re: Menu: changing 'Forum' to 'Community'?
Post by: oneway on May 24, 2006, 02:53:12 AM
Quote from: G6 on May 23, 2006, 05:00:59 PM
The first link in the tree is actually the "forum name"

That you can change from adminpanel and server settings
Hey, thanks, G6. I'd found those settings and changed them. But in my example at beginning of thread it's the 2nd entry 'Forum' that I'm chasing, and want to be able to change. *sigh - why do I always want to do the difficult things?*