Thread: Reference Manual
-
April 12th, 2018, 03:28 #1
- Join Date
- Oct 2016
- Posts
- 127
Reference Manual
Could I get / see the opening and closing xml tags used in the CoC 7e reference manual portion?
I wanted to try and get that menu / submenu look to my module data.
-
April 12th, 2018, 11:45 #2Code:
<root version="3.1"> <lists /> <reference static="true"> <refmanualdata> <refpage_credits> <name type="string">Credits</name> <group type="string">Call of Cthulhu</group> <subgroup type="string">About</subgroup> <text type="formattedtext" /> <blocks> <id-00001> ... </id-00001> </blocks> </refpage_credits> ... </refmanualdata> <refmanualindex> <chapters> <chapter_00> <name type="string">Call of Cthulhu</name> <subchapters> <subchapter_00> <name type="string">About</name> <refpages> ... </refpages> </subchapter_00> ... </subchapter_00> </subchapters> </chapter_00> </chapters> </refmanualindex> </reference>
-
April 12th, 2018, 14:06 #3
- Join Date
- Oct 2016
- Posts
- 127
Thanks, I assume the second </subchapter_00> is a copy mistake and not a part of the code?
-
April 12th, 2018, 14:57 #4
-
April 12th, 2018, 15:03 #5
- Join Date
- Oct 2016
- Posts
- 127
Thanks for the info. We use what is familiar in many cases.
-
April 12th, 2018, 20:46 #6
- Join Date
- Oct 2016
- Posts
- 127
Whats the difference in the data and index portions?
-
April 12th, 2018, 20:54 #7
The "data" section is what renders on the refpage (large right side of the manual) while the "index" data is for navigation so the index (left pane) knows which page to render when you click one.
The more streamlined "inline" method combines the two, that's why I commented to @damned this morning, not realizing he'd run around tattling on me! But the tool he uses builds them this way and if I "fixed" it for him, he could no longer use that tool.
-
April 12th, 2018, 21:05 #8
- Join Date
- Oct 2016
- Posts
- 127
So for example If I wanted 2 listings of credits under the about menu I'd add a listing under data - <refpage_credits> with a name of credits 2, and set the group and sub group the same as the example above?
then in the index portion I'd create a new subgroup for credits 2?
what goes in the block - id portion then?
-
April 12th, 2018, 21:44 #9
Here is the wiki on the "in-line".
https://www.fantasygrounds.com/wiki/...erence_ManualsUltimate License Holder
-
April 12th, 2018, 21:45 #10
- Join Date
- Oct 2016
- Posts
- 127
Thanks, I'll look that over
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks