Open Bug 414213 Opened 17 years ago Updated 9 years ago

Allow Help Viewer's toc to link to external documents

Categories

(SeaMonkey :: Help Viewer, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

People

(Reporter: steffen.wilberg, Unassigned)

Details

Attachments

(4 files)

I don't know if SUMO wants to use Toolkit's Help Viewer for displaying the previous in-product help documents. But I have a patch which allows to do that by linking to external documents from the table of contents: Instead of prefs.xhtml you can link to http://support.mozilla.com/kb/prefs-en-US.
CCing mconnor and beltzner, too. Not sure, would a screen shot help with that decision?
Currently, Help Viewer prepends helpBaseURI to the links in the table of contents, which is defined in firebirdhelp.rdf as "chrome://browser/locale/help/" (by the way, you can even browse that like a ftp listing). To provide for some internal and some external links, help viewer has to stop prepending helpBaseURI to http: links.
Attachment #299557 - Flags: review?(mano)
This makes Help Viewer use SUMO's version of the preferences document by replacing "prefs.xhtml" by "http://support.mozilla.com/kb/prefs-en-US" in firebird-toc.rdf. Works just fine, including Help buttons in the preferences dialog. The page reloads every time you switch to another document and back, but that's due to sumo's "Cache-Control: no-store, no-cache" http header. SUMO's page layout is pretty wide though.
Attached image screenshot
This shows the Help Viewer. I've made it wide enough to show SUMO's sidebar on the right.
Of course it doesn't have to be that large just to read the text. And you can collapse the sidebar of the Help Viewer by dragging it to the left.
Comment on attachment 299557 [details] [diff] [review] don't filter out http Beltzner says we're probably going to just use a new window/tab. Either way, we need to be much more careful here, I don't know if the help viewer has all the security checks thr browser window has, etc.
Attachment #299557 - Flags: review?(mano) → review-
Assignee: steffen.wilberg → nobody
Product: Toolkit → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: