From: Jérôme <rom...@ya...> - 2008-12-12 11:45:33
|
Olivier, > Also in my tree there is my father's family and my mother's family, > and people in one family are not interested to people in the other > family. > So I thought about adding tags to the persons, something similar to > notes, with a tag name and a description. I use custom attribute without value on person editor ! (4 family tree branches / grandparent) http://www.gramps-project.org/wiki/index.php?title=Image:Edit-person-attributes.png + filter rules on attributes http://www.gramps-project.org/wiki/index.php?title=Gramps_3.0_Wiki_Manual_-_Filters#Miscellaneous_filters Note, you have "Markers" http://www.gramps-project.org/wiki/index.php?title=Gramps_3.0_Wiki_Manual_-_Settings#Preferences and "Bookmarks" which might 'tag' objects too. > + When I have any number of individuals selected in the persons view, > assign them a tag (new or existing) Like "NotRelated" tool ? http://www.gramps-project.org/wiki/index.php?title=Gramps_3.0_Wiki_Manual_-_Reports#Not_Related http://www.gramps-project.org/bugs/view.php?id=144 > What is NOT working: > + In the tags' view, when editing a tag, I have a BackRefList of > persons that it is always empty. Could someone tell me how to do it, I > just cannot understand how it works. How is this backreflist > constructed, when, etc... Maybe paste a part of your code ! Did you add 'TAG' as an object (files on gen/lib ???) and made changes on DisplayTabs/_BackRefList.py, _BackRefModel ? Jérôme Olivier Georg a écrit : > Hi, > > [Please do not miss the question at the end of the mail ;-)] > > This is my first "constructive" mail to the list. What I expose below > is something I am doing both for a specific need, and for "education" > as I can learn a new programing language. I am using Ubuntu 8.04, and > I have version 3.03 of gramps. > > A few weeks ago, I mentioned "tagging" persons, at the manner of mails > in gmail. Filters are fine, but I tried to do something a bit > elaborate, and that got very complicated. I had to create a bunch of > filters, combine them to get other filters that I combined as well... > And when cousins marry together, or an uncle marry his niece, I have > to add exceptions (conjunction with "negative" filters") that make it > even worse. > > Also when exporting to a "public database", some people do not want to > appear in the tree, but if I make an export for part of the family, I > want them to appear, so I would have to add more and more filters. > > Also in my tree there is my father's family and my mother's family, > and people in one family are not interested to people in the other > family. > > So I thought about adding tags to the persons, something similar to > notes, with a tag name and a description. I duplicated about > everything I could find for "note", and replaced with "tag". I also > "derived variables" like NID_XXX replaced by TID_XXX, and > identificators "Nnnnn" replaced by "Tnnnn". I've been fortunate that > the letter "T" did not stand for anything. I've even created a "tag > icon" (which served me to learn to use a bit inkscape) > > So right now I have: > + A tag view > + A tag edit dialog > + A tag tab, and persons can have any number of tag > + Tag filters (duplicate of note filters) > + The person view's sidefilter includes a tag entry. > + I can export and import gramps xml > > What I still want to add: > + When I have any number of individuals selected in the persons view, > assign them a tag (new or existing) > > What is NOT working: > + In the tags' view, when editing a tag, I have a BackRefList of > persons that it is always empty. Could someone tell me how to do it, I > just cannot understand how it works. How is this backreflist > constructed, when, etc... > > I hope to hear your opinion soon, > > Regards, > > Olivier Georg > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > |