Icy Phoenix
phpBB 3 MODS And Styles (Not Compatible With phpBB 3.1) - Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
faethor [ Fri 24 Aug, 2012 15:06 ]
Post subject: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
Hi there
I would like to install the kb mod. Now I have to change the overall_header.htm but I cant find these lines
<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a>
before them I should insert this lines:
<a href="{U_KB}"><img src="{T_THEME_PATH}/images/icon_kb.gif" width="20" height="16" alt="*" />{L_KB}</a>
As I dont find the line above I dont know where to insert the other line.
Would be great if somebody can help me
Thanks a lot
Joshua203 [ Fri 24 Aug, 2012 15:26 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
Well this is the main menubar wich looks quite different in subsilver compared to black pearl.
You could add it to the menubar in black pearl (keeping in mind you don't add too much there to avoid width problems) or get creative and add it anywhere you like.
If you want to add it to the menubar take a close look at menu_block.html
If you agree having the link in front of FAQ then put it on a new line before the FAQ code ...or add it anywhere else.
In black pearl these are text links (not images) ...it's up to you to decide if you want the image link or the text link.
If you need help creating the new addition let me know but really in this file the examples are right in front of you

faethor [ Fri 24 Aug, 2012 15:38 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
Hi Josh
Thanks for helping

I will take first a look to the menu_bar and if i cant see it I will ask you again. (its the first Time that I work with html)

Joshua203 [ Fri 24 Aug, 2012 16:01 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
It's really quite simple:
find:
<a href="{U_FAQ}">{L_FAQ}</a>
add:
<a href="{U_KB}">{L_KB}</a> <img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />
faethor [ Fri 24 Aug, 2012 16:11 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
Yes, got it
But, like you say... Now I have too much links in the menu bar. How can I change the width of the whole template? Is there a general point to change this? If I look at this board here it is bigger than the original one

Joshua203 [ Fri 24 Aug, 2012 16:18 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
Yeah but this is not phpbb we use here
Open _mg_config.php
Find:
<!-- DEFINE $MG_GLOBAL_WIDTH = '960px' -->
and set it to what you desire in px or % ( % will be a percentage of the user's screenwidth ...meaning it will be flexible )

faethor [ Fri 24 Aug, 2012 16:23 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
Aaww

Not? Which one are you using?
Josh, You are my hero!! It works perfectly now exceptionally that I want to rename "kb" with "glossar". How can I do that?
And the knowledge base is a little bit expander than the forum and the gallery

Joshua203 [ Fri 24 Aug, 2012 16:29 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
The thing used at this site is Icy Phoenix, try clicking arround a bit or read the portal page for lots of info on this. (personally ...I do use phpbb3 AND a black pearl based template

)
Quote:
And the knowledge base is a little bit expander than the forum and the gallery
I'm really going to need a link to see what you are talking about
Quote:
I want to rename "kb" with "glossar". How can I do that?
This mod comes with it's own language files?
Then you should be able to find the variable in there (in your case twice, german and english)
faethor [ Fri 24 Aug, 2012 16:49 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
Ah this is a own board
I solved the problem with the expanded kb, i cleared the cache and now its working.
No, the kb mod comes only with english, I have to transalte it by myself

Where can I find thos variables? I dont find them? Do you have a Exaple like these are looking?
Joshua203 [ Fri 24 Aug, 2012 16:56 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
in language kb.php probably this line:
'KB' => 'Knowledge Base',
faethor [ Fri 24 Aug, 2012 17:08 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
i tried this an renamen "Knowledge Base" with "Glossar", its not working.
<a href="{U_KB}">{L_KB}</a> <img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />
in the menu bar the link is namen KB.
If I replace in this line L_KB with L_GLOSSAR
in the menu bar the link is named {L_Glossar}
Somewhere L_KB has to be defined as "KB", not?
Im confused....
Joshua203 [ Fri 24 Aug, 2012 17:26 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
Quote:
Im confused....
Me too, I'm doing this mostly blindfolded

a link would really help I guess.
Are you saying it does not say "Knowledge Base" in your actual menu bar?
have you tried it with the above line looking like this?
and that did not work?

faethor [ Fri 24 Aug, 2012 17:32 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
Yes, I tried this and its not working
Yes, in the menu bar the link is named kb (if i leave l_kb in menu_block.html)
the link is
www.tattoo-forum.ch
on the portal go to foren-übersicht most upper left.
Joshua203 [ Fri 24 Aug, 2012 17:47 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
Thanks for the link.
For starters.. please change {L_GLOSSAR} back to the original {L_KB}
Secondly.. are you sure you are editing the german language kb.php file?
EDIT: 3rd ... you should really have a menubar at portal-page too, but that's off topic

Joshua203 [ Fri 24 Aug, 2012 18:42 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
AND...
add to language common.php (preferably where KB mod told you to add some other variables in the MODX file):
now if it still don't work you may shoot me

faethor [ Fri 24 Aug, 2012 19:22 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
Hi Josh
Thanks for your effort, but im afraid I have to shoot you now
I added
in the common.php in the language folder, but nothing happends...
Im really sure that I changed it in the right language.
And your idea with the menu bar in the portal is great

But... how to do this?
Joshua203 [ Fri 24 Aug, 2012 20:08 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
Ouch ..hehehe didn't see that comming but I'm going to blame the mod author for using L_KB while it is already in use in default phpbb!!
So lets work arround it, you already were on the right path to do that...
- Please change back in the menu html file L_KB to L_GLOSSAR (or anything you like better)
- now change in the language kb.php file the line:
'KB' => 'Knowledge Base',
to:
and keep in mind that now anywhere L_KB is used in the script it needs to be changed to L_GLOSSAR
_______________
Edit:
Quote:
And your idea with the menu bar in the portal is great But... how to do this?
One thing at a time .. when this is done please open a thread for it and we'll see
faethor [ Fri 24 Aug, 2012 20:31 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
Yes Sir, Colonel Sir
Many many thanks für your great helping!!! Now it works and in the Menu bar the link is named Glossar

I think now i am beginning to understand how all these html php css or whatever it is works
BTW: Where can I set these thread as solved??
Joshua203 [ Fri 24 Aug, 2012 20:34 ]
Post subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
You're welcome
I think now i am beginning to understand how all these html php css or whatever it is works

That's GREAT

congratualations