SOLVED Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod


Goto page 1, 2  Next

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

Code: [Download] [Hide] [Select]
<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:

Code: [Download] [Hide] [Select]
<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

Profile PM  
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 :wink:

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

Profile PM  
Subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
It's really quite simple:

find:
Code: [Download] [Hide] [Select]
<a href="{U_FAQ}">{L_FAQ}</a>


add:
Code: [Download] [Hide] [Select]
<a href="{U_KB}">{L_KB}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;

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

Profile PM  
Subject: 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: [Download] [Hide] [Select]
<!-- 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 ) :wink:

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 :(

Profile PM  
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 :mrorange: )

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)

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?

Profile PM  
Subject: Re: Problem With Changing Overall_header.html (Black Pearl) Reagarding Knowldge Base Mod
in language kb.php probably this line:
Code: [Download] [Hide] [Select]
'KB' => 'Knowledge Base',

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.

Code: [Download] [Hide] [Select]
<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....

Profile PM  
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 :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: [Download] [Hide] [Select]
'KB' => 'Glossar',

and that did not work? :shock:

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.

Profile PM  
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 :oops:

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):
Code: [Download] [Hide] [Select]
'KB' => 'Glossar',


now if it still don't work you may shoot me :LOL:

Goto page 1, 2  Next

Page 1 of 2


  
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

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0868s (PHP: 25% SQL: 75%)
SQL queries: 12 - Debug Off - GZIP Enabled