GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Implement primary and secondary picture feature in a Narrative report

Click to view RSS...
Author
Posted Thursday, July 17, 2014 - Post #33744
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.5.3.9

Last Login: Tuesday, August 20, 2019
Posts: 106, Visits: 1,686
Hi,

I would like to try and implement the primary and secondary picture feature of the Narrative Report. I remember that it requires creating a custom tag. The switch seems to be in the last line of the Pictures thumbnail in the Set Parameters of the Narrative Report which needs to be ticked. I won't be able to go any futher alone without assistance. Is the procedure described somewhere? The best would be a step-by-step procedure. Which programs/files of the skin (or elsewhere) need to be amended?

I use the latest Narrative Report Skin (version 2014.04.10) with a custom Dictionary and a custom "style.css" and am able to make it work and generate the reports I wish (using "individuals.htm" e.g.) with a limited number of error messages, namely:


http://support.genopro.com/Uploads/Images/702839a3-fb02-4830-b594-f24a.JPG


In my reports, I do not use Google Maps, Timelines, Pedigree Chart.

Thank you in advance for any help. Kind regards

Roland Schaeffer
Posted Friday, July 18, 2014 - Post #33745
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 9:42 PM
Posts: 3,325, Visits: 25,525
You have found the config param and its Description outlines how to use it! (Hover over the text).  
Create tag Pictures.Secondary as per http://www.genopro.com/help/custom-tags/. Then for each child with a secondary picture you want on the family page set this custom tag to the index number of the required picture, numbering starts at one.  Only set the config param if you want ONLY secondary pictures for children I.e. if no secondary picture tagged then no picture used even if Primary picture present.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Tags:
Posted Saturday, July 19, 2014 - Post #33746
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.5.3.9

Last Login: Tuesday, August 20, 2019
Posts: 106, Visits: 1,686
1) Tag created

http://support.genopro.com/Uploads/Images/ba1b1952-9ea5-424c-b48c-453d.JPG


2) Picture tag identified with index number; entering 1 (= first secondary picture) or 2 (= second picture in the list) produces no positive result

http://support.genopro.com/Uploads/Images/ce82ad2b-bbfb-4a2b-bff3-c297.JPG

http://support.genopro.com/Uploads/Images/aa833b14-4e9f-4745-bcb6-ca9f.JPG

3) Param box ticked or unticked does not show any change

http://support.genopro.com/Uploads/Images/83fd8b3c-468e-42f5-b160-3c7f.JPG

All my attempts with the parameters as above produced a book report, but when I opened "individuals.htm" with Firefox, the child paragraph did not show a primary, nor a secondary picture. All individuals showed their primary pictures.

What did I do wrong? Please advise. Thank you for your help.
Posted Saturday, July 19, 2014 - Post #33747
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 9:42 PM
Posts: 3,325, Visits: 25,525
Pictures.Secondary is a tag of Individual, not the Picture.  The value is the index within the individual's pictures,  so if you want the third picture of an individual to be the secondary or child picture then set value to 3.  

A picture could theoretically be attached to more than one individual e.g. group photo, so a tag on the Picture is unworkable.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Sunday, July 20, 2014 - Post #33748
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.5.3.9

Last Login: Tuesday, August 20, 2019
Posts: 106, Visits: 1,686
Thanks to your advice, I was able to get the secondary pictures feature to work as expected. Great feature. The Book report now comes out really beautiful.
Many thanks. Kind regards

Roland


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse