Customizing TOC book list [message #663923] |
Wed, 06 April 2011 15:57  |
Eclipse User |
|
|
|
I have an Eclipse Help project I am working on based on output generated by Webworks 2010.4.
I have managed to correctly link to the plugin_customization.ini (I used the "test" suggested in an old post: changing the background colour).
Nothing I have managed, though, will affect the TOC, it still comes out with everything in alphabetical order.
In the plugin_customization.ini I have tried:
org.eclipse.help/HELP_DATA = PLUGINS_ROOT/org.eclipse.platform_3.6.1.v201009090800/helpDa ta.xml
org.eclipse.help/HELP_DATA = helpData.xml
org.eclipse.help/HELP_DATA = "C:\path\helpData.xml"
org.eclipse.help/HELP_DATA = PLUGINS_ROOT/helpData.xml
I have also changed file locations and managed to get the plugin_customization.ini to work, but never the helpData.xml which is always in the same folder as the ini.
My helpData.xml is as follows (with actual file names changed)
<?xml version="1.0" encoding="utf-8"?>
<extensions>
<tocOrder>
<TOC id="PLUGINS_ROOT/companyname.eclipsehelp.Doc1/toc.xml" />
<TOC id="PLUGINS_ROOT/companyname.eclipsehelp.Doc2/toc.xml" />
<TOC id="PLUGINS_ROOT/com.webworks.eclipsehelp.Doc3/toc.xml" />
<TOC id="PLUGINS_ROOT/com.webworks.eclipsehelp.Doc4/toc.xml" />
</tocOrder>
</extensions>
I have tried without PLUGINS_ROOT, I have tried the complete path, relative paths... on and on and on.
Notice that some are using a different naming scheme, but I am guessing that makes no difference...?
My aim is to have my products listed by category (in the company's offerings).
What have I overlooked?
I have looked at the documentation, read several threads in the forum and yet I am coming up short.
I appreciate any help.
Regards,
RP
|
|
|
|
|
|
|
|
Re: Customizing TOC book list [message #718899 is a reply to message #718853] |
Thu, 25 August 2011 11:22  |
Eclipse User |
|
|
|
Wow...
Here is what fixed it:
This is what I had:
org.eclipse.help/HELP_DATA = PLUGINS_ROOT/org.eclipse.platform_3.6.1.v201009090800/HELP_DATA/helpData.xml
And I changed it to this on a whim:
org.eclipse.help/HELP_DATA = "PLUGINS_ROOT/org.eclipse.platform_3.6.1.v201009090800/HELP_DATA/helpData.xml"
I didn't see anything that suggested I should try adding the quotation marks, but I've been trying off and on for months to get this sorted out.
Now my hair can grow back <jk>
Edit
Oh, and I still have to leave the old method using baseTOCS in place as well. But what I've got works for now.
RP
[Updated on: Thu, 25 August 2011 11:33] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.09143 seconds