I might be a bit dense, but I am having trouble changing the style. I am running Firefox 76.0.1 on MacOS 10.15.3 and could not locate “Display -> Page Style -> Choose the style you want to test”. Is this an option within the browser, or within the narrative web pages?
What would be really cool is that second choice, if the different CSS available when the narrative web is created could be selected and loaded when a viewer is viewing the website. But that could be what you are describing and I am just too dense.
This is a browser option. If you use chrome, I think you must add an extension. For Windows, I don’t know.!
Here is what I see on my french browser: alternate_style_sheet|575x500
First I develop a strategy for what to call the associated entity. For my Father’s Golf club I arbitrarily selected club as the association type I wanted and entered a new person as " Ascot Heath Golf" with a surname of “Club”.
All other clubs (golf or otherwise) now use that surname.
For the specific instance I set the Name Type field to a new type of Legal Person by typing it into the selector. I can re-use it now as a drop down.
Then I create a primary filter "people with a substring of “Legal Person”, preserve case.
That filter is coupled with my general person filter (at least one must apply) to prompt for the publication of the legal person as well.
Narweb will now provide the associations TO Ascot Heath Golf Club as linked records, and the linked record to Ascot Heath Golf Club is ‘clickable’ and brings the page up.
The associations OF Ascot heath Golf Club showing my father and mother are shown but not clickable however. This is probably true for all association (though I haven’t tried yet). We might say that ‘associations’ is a one-way link at this time. This may be a theoretically simple fix, however. since the person ‘back-link’ look-up code must already exist as places section of Narweb has that feature already.
Can I just ask why you create a legal “person” ?
Why not use Places for the club and any other legal entities (Companies, Ships, Departments and so on)?
That Legal entity is a sub place of where the Legal Entity are located, say i.e. “West Detroit”.
then you create a Event “Members”, and add any people with their given role to that event…
Just wonder, because by doing that you will benefit from the new place features in 5.2 and when 5.3…
I tried to work with a Legal entity as a “Person” for all my companies (multiple of my ancestors owned companies), I also tried it with personal owned farms, and ships…
But I ended up with a lot of problems regarding reports and how things connected… specially when I suddenly got a sub department or a company merged or split…
Sorry that I somehow “highjacket” the thread, I just wondered if you had found some benefits I had overlooked by doing it that way…?
This is how the narrative web do the job. I Don’t create a “legal person”. I only add the associated person to the list of selected persons. This is the only way I have for you to click on the link.
I really don’t understand what you are doing. The associations is only used for persons. A club is not a person. You can’t do what you want.
This has nothing to do with the new place feature.
Serge,
I got this error;
40318: ERROR: _reportdialog.py: line 748: Failed to run report.
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/gramps/gui/plug/report/_reportdialog.py”, line 709, in report
my_report.write_report()
File “/usr/lib/python3/dist-packages/gramps/plugins/webreport/narrativeweb.py”, line 400, in write_report
self._build_obj_dict()
File “/usr/lib/python3/dist-packages/gramps/plugins/webreport/narrativeweb.py”, line 504, in _build_obj_dict
self._add_person(handle, “”, “”)
File “/usr/lib/python3/dist-packages/gramps/plugins/webreport/narrativeweb.py”, line 579, in _add_person
self._add_family(family_handle, Person, person_handle)
File “/usr/lib/python3/dist-packages/gramps/plugins/webreport/narrativeweb.py”, line 709, in _add_family
for assoc in person.get_person_ref_list():
NameError: name ‘person’ is not defined
I have a question in regards to the extra page/pages that one can add to the html-version.
To add any page seems easy, and it shows up correctly as an extra tab next to “Introduction”. So far, all is well.
But, what if I would like to incorporate this extra page so that it gets the same layout (i.e. using the same css, showing the same tabs) as the rest of the html-version? I haven’t found any option to do so among the available text-reports; they are all pre-defined and none of them has the option to simply add a new text of ones own preference. Also, if you make a text-report using the same .css-style as your html-version, put it in your html-directory for gramps, and add it as your extra page, it will indeed have the same look (almost) as the rest of the files, but the headline will be different and the tabs (for introduction, people, places etc) are not there…
So, either I am not understanding how to create an extra page for the html-version within the database, or this feature does not exist. If it doesn’t exist, I would like to request it.
(I’m not sure it I managed to explain my question so well, I have therefore added two screendumps, one of the index-page of my html-version and one of a random
The extra page was added to link to another web site (which can be on the same system).
You only need the extra page name which will be included in all the narrative web site.
The extra page path is an url. either a file path or http:// or ftp://, …
This html page include its own css files.
If you want to use the narrative css files, you must modify the extra page html file to include the narrative css files.
The narrative web don’t know the content of this extra page.
Yes, I understand this, I have tried it out frequently, it works well and I understand the main purpose. But, I could see many circumstances where one would like to add an extra page that is included in the original gramps system rather than being external (one major reason would be the totally shared layout with the tabs). This is then not possible today, but I think it could be an useful option if it is possible to accomplish. (I am sort of already using this, but in order to accomplish it, I have to use a new, empty database, create one bogus-name for name, family, place etc, write the text for my “extra page” on the new index-site and then stick a html-version of this index-site into the html-directory for my main gramps html, link to it as my extra-page and it WILL work, but its so much extra work and it would be really nice if it was possible to do this within my original database instead).
Maybe this is something that more belongs in the Gramps-general cathegory of requests? Maybe this qould require an adjustment in Gramps itself rather than in the html-version to accomplish?
The reason why I would wish for an extra page that is included (i.e. has the same layout and tabs) in the Gramps html rather than being external is that I am working on a parallel area research, and within this project, I would have a huge advantage if I could add an extra specific information page that was part of the Gramps html.
I was thinking that others might also find it beneficial to have such an option, and that’s the main reason for suggesting it. However, it could very well be that the majority of people very much prefer to have a totally external page that they can add as an extra page. I never meant that my suggestion would exclude the option of having a totally external page. We all have different wishes and needs, and I am very happy with what Gramps already offers and the improvements, especially for the html-version, that will be added in the 5.2 version.
I don’t know how I could do that as it is an external page.
The only thing I could do would be to create a template page which include all links to the css files.
The problemes:
1 - The page will be in a different url/path than the gramps root.
2 - You will need to add your html into the body of this url. Do you want it is a html note from gramps ?
3 - Be careful! At each time you restart the narrative web, this url will be erased (except if your html code is an internal gramps note)
When we have long page like the individuals page, it’s difficult to go back to the top when you are near the end of the page. I added a button to do that. There is a video to show the functionality in the PR 1051
I rename the file gototop.mp4.txt because videos are not allowed in github.
First my apology for this late reply; I thought I would get an automatic e-mail reponse when someone replied to my post, but this obviously wasn’t the case here.
I can see that my suggestion causes a lot of problems, and this was not my intention.
My thought was, as you assume, a html-note from gramps that could be included in an additional page (as an additional page).
If this is difficult to accomplish, there is no urgent “need” for it. As I wrote above, it can still be accomplished by “cloning” a separate database, so if others have no need for an extra page that is included in Gramps, please disregard my request.