Search for content in message boards

Children appear at bottom of person (started using roles?)

Children appear at bottom of person (started using roles?)

Posted: 2 Aug 2006 3:04PM GMT
Classification: Query
I have been formating my data for sentence structures, however now in SS I get a list of children at the bottom of the person. Can I remove this as it makes it look untidy?

The info is as follows after the death tag:

Death* His death document has not been found.

1 Eliza Isabel Vizer (1817 - 9 Feb 1891)
1. Harriet Mary Muddock (1845 - 28 Sep 1851)2
2. Maria Muddock+ (6 Mar 1847 - 21 Nov 1926)1,2
3. Eliza Eva Muddock (17 Jan 1853 - 9 Sep 1869)1,2

2 (?) (?)
1. James Muddock+ (1861 - 14 Sep 1914)39

3 Nelly (?) (c 1843 - )
1. William Henry Muddock (May 1873 - 21 Feb 1874)2

4
1. (?) Muddock (27 May 1874 - )1

Re: Children appear at bottom of person (started using roles?)

Posted: 2 Aug 2006 9:28PM GMT
Classification: Query
The "family sections" (that's what SS calls the spouse/children sections that follow the narrative or list of tags) can be removed, but it will take a custom Format. In the custom Format, you'll basically remove the statements that construct that part of the output. If you tell me what Format you are using now, I can give more specific instructions.

Re: Children appear at bottom of person (started using roles?)

Posted: 2 Aug 2006 9:35PM GMT
Classification: Query
Thanks for your help John.

I am using Format: Grid, Detail format: use sentence, Theme: standard

Is there any more info you require?

Thanks

Re: Children appear at bottom of person (started using roles?)

Posted: 3 Aug 2006 3:02AM GMT
Classification: Query
Shaun,

In the Grid.xsl file in the Formats folder, you need to stop the format from writing the family sections. One way to do that is as follows. Find the following comment:

<!-- Show Families with at least one child -->

The next statement is:

<xsl:variable name="family" select="family[count(child)>0]"/>

Change it to:

<xsl:variable name="family" select="ignore[count(child)>0]"/>

Note: I changed "family" to ignore in the select= parameter. After the change, the statement will not select any data and the section won't be written.

You can change the Grid.xsl file, or you can make a custom Format that is a copy of Grid.xsl and change that. Note that yopu have to copy both Grid.xsl and Grid.xml to make a custom Format, and you have to put them in the Formats folder under your User Data Folder. Give them the same name, and make it meaningful, say, "MyGrid.xsl" and "MyGrid.xml".

Hope this helps.

Re: Children appear at bottom of person (started using roles?)

Posted: 3 Aug 2006 6:51AM GMT
Classification: Query
Hi

I created a custom "User data folder" with the sub-folder "Themes", which is where I put the 2 x grid files. I then set the "user data folder" as the user data folder under file\preferences.

It only seems to work when I have the grid files called by their original names, ie grid.*. When I rename them to mygrid, it does not seem to work.

Still, I got the results that I wanted.

Thanks

Re: Children appear at bottom of person (started using roles?)

Posted: 3 Aug 2006 8:25PM GMT
Classification: Query
Shaun,

Custom Formats should be placed in the "Formats" folder under your user data folder (UDF). If you place it there, and then start SS, you should see your custom Format in the Format pull-down menu.

I don't understand how it could possibly work if it was placed in the Themes folder. SS doesn't look there for custom Formats.

Re: Children appear at bottom of person (started using roles?)

Posted: 3 Aug 2006 9:09PM GMT
Classification: Query
Sorry I meant “formats” rather than “themes”

Re: Children appear at bottom of person (started using roles?)

Posted: 3 Aug 2006 9:52PM GMT
Classification: Query
Well, we have a mystery then. If the two files are placed in the Formats folder under the User Data Folder, then the custom Format should appear at the top of the Formats menu. Note that custom Formats are sorted alphabetically by name and all the custom Formats appear at the top of the Formats menu. The Formats supplied with Second Site are also sorted alphabetically, but the first one ("Bullets") is listed after the last custom Format.

Re: Children appear at bottom of person (started using roles?)

Posted: 4 Aug 2006 7:22AM GMT
Classification: Query
You are right again. I did not see that if I call it "mygrid" then I need to select it from the drop down menu. As the setting for SS was already on grid, when I renamed the file "grid" under my UDF it appeared the settings had took place.
Thanks for your help, I appreciate it.
per page

Find a board about a specific topic