PDA

View Full Version : Short "stupid" question


Jim_Westergren
10-07-2005, 01:35 AM
You know the line that says:

"Directory Home » Arts » Foto & Video"

In one dir I have changed "Directory Home" to another word and now I need to change it to something else on another dir. I cannot find it anywhere, been looking like crazy, searched template files etc. etc.. Also didn't find it with forum search.

Thanks!

minstrel
10-07-2005, 02:47 AM
/templates/top_bar.tpl

Jim_Westergren
10-07-2005, 02:51 AM
Yes, I thought so too but where?

Content visible to registered users only.

minstrel
10-07-2005, 04:17 AM
In that file:

Content visible to registered users only.

But you're right -- you also have to change it here:

/include/functions.php around line 192 (mine says "Home"):

Content visible to registered users only.

Jim_Westergren
10-07-2005, 04:28 AM
Ahh there it was. Thanks man.

Should be more easy to change like in the admin panel or something. "/include/functions.php around line 192" is bit ...

minstrel
10-07-2005, 05:18 AM
:D yeah I know... I was looking for it in the language and constants files... functions.php was a stab in the dark but there it was... not exactly intuitively obvious :shock:

ing
10-07-2005, 03:13 PM
Hi,

I've changed that part in mine in the Admin Panel.

Go to System > Edit Settings > Site...

Then put what you want to show there in the "Name" field.

:)

kickass
10-08-2005, 03:01 PM
The ways to do this are version specific, if I remember correctly. There's a lot about this on the forum, though figuring the search term might be tricky. I know in older versions you did have to tweak the language file to get it to show correctly on every directory page, but that was tricky since if you changed the wrong line the directory wouldn't work. Vkaryl, who came up with the fix, might be able to point in the right direction for that one.

Anyone who wants to dig up this info and put it in the wiki, this is a question that gets asked repeatedly.

And it would be helpful if those who came up with solutions also told which versions their solutions were for . . .

maxa
10-30-2005, 12:56 AM
Content visible to registered users only.
I changed similarly and it works except for two problems:
1. The top bar shows a � instead of the » between the path-texts...
2. On the Subit Link-page, it doesn't show "Home", but the original faar-too-long site-title.
Why is this?

Here's the url: http://www.serveu.net/links/

Thanks for help
/maxa

vkaryl
10-30-2005, 01:32 AM
Far as I know, you STILL have to change it in /lang/en.php in order for it to display properly everywhere it's called. In my installs, this is on about line 283 in /lang/en.php....

Note please that I do NOT know if this obtains in the only other language file currently extant, that is, ro.php.