|
Page 1 of 2
|
faethor 
Joined: August 2012
Posts: 45
Location:
|
 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
|
#1 Fri 24 Aug, 2012 15:06 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 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
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#2 Fri 24 Aug, 2012 15:26 |
|
faethor 
Joined: August 2012
Posts: 45
Location:
|
 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)
|
#3 Fri 24 Aug, 2012 15:38 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 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="" />
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#4 Fri 24 Aug, 2012 16:01 |
|
faethor 
Joined: August 2012
Posts: 45
Location:
|
 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
|
#5 Fri 24 Aug, 2012 16:11 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 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 )
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#6 Fri 24 Aug, 2012 16:18 |
|
faethor 
Joined: August 2012
Posts: 45
Location:
|
 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
|
#7 Fri 24 Aug, 2012 16:23 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 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)
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
Edited by Joshua203, Fri 24 Aug, 2012 16:34: Multiple edits |
#8 Fri 24 Aug, 2012 16:29 |
|
faethor 
Joined: August 2012
Posts: 45
Location:
|
 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?
|
#9 Fri 24 Aug, 2012 16:49 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
in language kb.php probably this line:
'KB' => 'Knowledge Base',
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#10 Fri 24 Aug, 2012 16:56 |
|
faethor 
Joined: August 2012
Posts: 45
Location:
|
 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....
|
#11 Fri 24 Aug, 2012 17:08 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 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?
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#12 Fri 24 Aug, 2012 17:26 |
|
faethor 
Joined: August 2012
Posts: 45
Location:
|
 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.
|
#13 Fri 24 Aug, 2012 17:32 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 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
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#14 Fri 24 Aug, 2012 17:47 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 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
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#15 Fri 24 Aug, 2012 18:42 |
|
|
Page 1 of 2
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
Similar Topics
Similar Topics
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|