From: Douglas S. Blank <dblank@cs...> - 2008-03-29 12:16:52
On Thu, March 27, 2008 4:46 am, Rob G. Healey wrote:
[snipped css question]
> Is it possible to remove NarrativeWeb.py from its default location
> and place it within my own plugins directory? Example....
> mv gramps30/src/plugins/NarrativeWeb.py ~/.gramps/plugins?
> I have made a few minor changes to NarrativeWeb.py that I like to
> keep if possible? I know that it is politically correct to use the word
> Partners, but I would much rather use Spouse(s) for example? I know
> that a global change can't be made but, I would like it for myself.....
> Please no fights now......
Rob, great that you are diving under the hood! This is one of the great
powers of Python, GRAMPS's plugin system, and open source: the code is
fairly easy to understand, nicely modular, and available to change.
I would move the version with your changes to your personal
.gramps/plugins subdirectory. You should rename the name of the report,
both the "name" and "translated_name" so that if the other one appears in
the system gramps/plugins folder, you'll be able to tell them apart.
Also, it may be worth a feature request to add the spouse-term to the list
of textual replacements so that you could see your preferred term
I'll leave the css questions to others.
> I have also modified one of Jason's NarrativeWeb stylesheets for my
> own color choices and use. Once it is all complete, I would like to
> share it with everyone if possible? I have also added my own to the
> Makefile.am and to NarrativeWeb to be able to use my own stylesheet! I
> am learning slowly, but surely....
> Future for NarrativeWeb:
> 1) In the Addresses section on the individual's page, can it be made
> to look like the one in the contact page? How it is correctly displayed
> like on an envelope?
> 2) Could the ancestors section be made to look like the pedigree
> display is on Gramps? Males are blue, and females are pink or whichever
> color as chosen?
> I have also made some changes to the Tips.xml.in file as well for
> word or Capitalizations or remove words. Made it more grammatically
> correct.... Here it is for anyone to look at and see if it is something
> that can be patched in....?
> Sincerely Yours,
> Rob G. Healey
On Sat, 2008-03-29 at 08:16 -0400, Douglas S. Blank wrote:
> Re: [Gramps-devel] multiple things
Hi Rob, I've made this feature request which may solve your issue with
style sheets. Take a look and tell me what you think.