https://www.icyphoenix.com/viewtopic.php?f=32&t=8649 ----------------------------------- faethor Fri 24 Aug, 2012 15:06 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 [code linenumbers=false]* {L_FAQ}[/code] before them I should insert this lines: [code linenumbers=false]*{L_KB}   [/code] 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 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 :wink: ----------------------------------- faethor Fri 24 Aug, 2012 15:38 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 Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod ----------------------------------- It's really quite simple: find: [code linenumbers=false] {L_FAQ}[/code] add: [code linenumbers=false] {L_KB}   [/code] ----------------------------------- faethor Fri 24 Aug, 2012 16:11 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 Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod ----------------------------------- Yeah but this is not phpbb we use here :lol: Open _mg_config.php Find: [code linenumbers=false][/code] and set it to what you desire in px or % ( % will be a percentage of the user's screenwidth ...meaning it will be flexible ) :wink: ----------------------------------- faethor Fri 24 Aug, 2012 16:23 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 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 :mrorange: ) [quote]And the knowledge base is a little bit expander than the forum and the gallery [/quote] 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?[/quote] 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 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 Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod ----------------------------------- in language kb.php probably this line: [code linenumbers=false] 'KB' => 'Knowledge Base',[/code] ----------------------------------- faethor Fri 24 Aug, 2012 17:08 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. [code linenumbers=false]{L_KB}   [/code] 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 Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod ----------------------------------- [quote] Im confused....[/quote] Me too, I'm doing this mostly blindfolded :lol: 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? [code linenumbers=false] 'KB' => 'Glossar',[/code] and that did not work? :shock: ----------------------------------- faethor Fri 24 Aug, 2012 17:32 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 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 :oops: ----------------------------------- Joshua203 Fri 24 Aug, 2012 18:42 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): [code linenumbers=false] 'KB' => 'Glossar',[/code] now if it still don't work you may shoot me :lol: ----------------------------------- faethor Fri 24 Aug, 2012 19:22 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 [code linenumbers=false]'KB' => 'Glossar',[/code] 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 :D But... how to do this? ----------------------------------- Joshua203 Fri 24 Aug, 2012 20:08 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!! :evil: 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: [code linenumbers=false] 'KB' => 'Knowledge Base',[/code] to: [code linenumbers=false] 'GLOSSAR' => 'Glossar',[/code] 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?[/quote]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 Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod ----------------------------------- Yes Sir, Colonel Sir :D Many many thanks für your great helping!!! Now it works and in the Menu bar the link is named Glossar :D I think now i am beginning to understand how all these html php css or whatever it is works :chef: BTW: Where can I set these thread as solved?? ----------------------------------- Joshua203 Fri 24 Aug, 2012 20:34 Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod ----------------------------------- You're welcome :wink: [quote user="faethor" post="56444"]I think now i am beginning to understand how all these html php css or whatever it is works :chef:[/quote] That's GREAT :mrorange: congratualations