Development :
K-Meleon Web Browser Forum
K-Meleon development related discussions.
Local Help file
Posted by:
alain.NOSPAM.aupeix@wanadoo.fr
Date: January 22, 2005 05:07PM
I'm trying to make a local help.
help files are under km's folder\help
I have this macro which is called by a menu entry:
LocalHelp {
opennew( "file:///" . $skindir . "..\\help\\index.html");
}
It works, but when I want to launch a link from this page (called with the macro), it fails because the link is :
file:///introduction.html
and should be
file:///c:\Program%20Files\K-Meleon\help\introduction.html
how can I force it to this value without hardcode this
If I click on the file (don't pass by macros), it's ok
A way I think ought to work is perhaps to put it in a jar file and to hard-code the links like chrome://....
Does anybody has a easier solution ?
Re: Local Help file
Posted by:
alain.NOSPAM.aupeix@wanadoo.fr
Date: January 22, 2005 07:53PM
I have found another way:
LocalHelp {
exec( "k-meleon.exe " . $skindir . "..\\help\\index.html");
}
It's easy and it works
Re: Local Help file
Posted by:
clickfish
Date: February 01, 2005 09:07AM
@Alain: Help is good...
I need your help: How can I get my komplete german k-m in an installer? Does it give wiki?
greets, clickfish
-----------------------
www.cappoodoo.de
Re: Local Help file
Posted by:
alain.NOSPAM.aupeix@wanadoo.fr
Date: February 01, 2005 10:57AM
Send me a mail at my address (author), I'll send you the nsis files and links to the tools, and some hints to do it.
Re: Local Help file
Posted by:
clickfish
Date: February 02, 2005 01:35PM
@Alain:
Have you received my mail?
Re: Local Help file
Posted by:
alain.NOSPAM.aupeix@wanadoo.fr
Date: February 02, 2005 03:29PM
Yes, I just keep it
I'm about to send files and some hints
Patience :-)
Re: Local Help file
Posted by:
alain.NOSPAM.aupeix@wanadoo.fr
Date: February 02, 2005 03:51PM
> k-meleon tool- and menubars are "streched"
When you translate toolbars, don't forget that the position is prefs.js.
For example, Go toolbar, in french becomes Navigation toolbars.
In prefs.js, you have to delete the english values and add the translated ones.
user_pref("kmeleon.toolband.go.break", 0);
user_pref("kmeleon.toolband.go.index", 1);
user_pref("kmeleon.toolband.go.size", 59);
user_pref("kmeleon.toolband.go.visibility", true);
become
user_pref("kmeleon.toolband.Navigation.break", 0);
user_pref("kmeleon.toolband.Navigation.index", 1);
user_pref("kmeleon.toolband.Navigation.size", 59);
user_pref("kmeleon.toolband.Navigation.visibility", true);
The way to do it is simple.
Just arrange your toolbars as you think you must.
Quit K-Meleon
Edit Prefs.js delete all old toolbands prefs
save prefs.js
Launch K-Meleon, it must be good
Change the skin (note that toolbars.cfg must be translated for all the skins)
It must be ok
When all is ok, edit prefs.js from your profile and prefs.js from
k-meleon\defaults\profile
and update this files with the toolbands modified.
When you create now a new profile, it must be ok, directly, without having to modify it.
A+
Re: Local Help file
Posted by:
ndebord
Date: February 02, 2005 10:39PM
Alain,
This local help file idea you have looks great. When you're ready could you post somewhere so I could copy it?
Tks,
N
Re: Local Help file
Posted by:
alain.NOSPAM.aupeix@wanadoo.fr
Date: February 03, 2005 08:01AM
Yes, but I'm making it in French (it's not finished), you must wait I make an english version.
Patience :-)
Re: Local Help file
Posted by:
alain.NOSPAM.aupeix@wanadoo.fr
Date: February 03, 2005 04:20PM
Clickfish,
I've made zipfile which is my km's installer folder. I have killed some files (the kmeleon's one) to make zip size correct (minus than 2 Mb)
All you need is here except the installer tools needed.
This zipfile is on line on my site, the explanation also
in the zip file is also my last tool: an interface beetween k-meleon and a notepad.
No docs, but it's not too difficult to understand. It's not finished (because of the doc) but works great.
The file is located
here