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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,026
  • Total Topics: 21,333
  • Online today: 916
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 314
  • Total: 315
  • lurkalot

Menu: changing 'Forum' to 'Community'?

Started by oneway, May 23, 2006, 02:33:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

oneway

1. The 'Forum' link in the Menu linktree seems to be a default, example below.


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.

Crip

index.template.php thats the [link_tree] .. i think?
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



oneway

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)...

G6Cad

The first link in the tree is actually the "forum name"

That you can change from adminpanel and server settings

oneway

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?*

This website is proudly hosted on Crocweb Cloud Website Hosting.