GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
Get more out of the Report Generator


https://support.genopro.com/Topic40228.aspx
Print Topic | Close Window

By BlackAdder - Tuesday, January 7, 2020
G'Day to the support group.   I'd like to get more out of the generated report, but the "more" bit is to do with how I use the generated .htm files.

I have my own web site and I'd like to have a link to the generated .htm files and those directories.   That's pretty simple to do and I have that working.

What I'm trying to achieve is to give my extended family the ability to provide feedback if any information is incorrect or if I am missing anything.   What I was thinking might work is if I was able to include a button/link in the report that I could code to take the user to a page on my website for feedback, e.g. they tell me what is wrong/missing.   I can then go and fix that in GenoPro and re-generate the report.

To me it is a Skin solution where I need to make a change to the skin (Narrative Report) that includes an extra menu item for "Feedback" and has a link to the page on my website that captures the details.

Does that sound right and if so, where can I find some documentation on how I could achieve this?
By appleshaw - Tuesday, January 7, 2020
One option is to include an email link in the report main page.
Put this code on the Document tab of the Report Generator

<?html?><A HREF="mailto:YOUR EMAIL ADDRESS"><IMG SRC="images/mailto.gif" WIDTH="95" HEIGHT="47"ALIGN="top"  ALT="Click here to send message" TITLE="Click here to send message"></A><br/><?text?>Click on the envelope for email contact

http://support.genopro.com/Uploads/Images/b6d41e5a-f893-4636-86ae-bb81.gif

If you add a mailto.gif you can use that as a link; otherwise the ALT code links to a hyperlink
By BlackAdder - Tuesday, January 7, 2020
Thanks for that appleshaw,

That gets pretty close, but leaves things out of my control, e.g. when I tried it, I got the following error "mail.google.com refused to connect."   I'd prefer not to be doing their IT support for them and without that they might just think it's too hard and not give me the information.   At least with a link to a Feedback page on my website, I'm in more control.

I'm no HTML programmer, but would something like this (small mod to your suggestion) work:
<?html?><A HREF="www.server.site/feedbackpage"><IMG SRC="images/mailto.gif" WIDTH="95" HEIGHT="47"ALIGN="top"  ALT="Click here to send feedback" TITLE="Click here to send feedback"></A><br>
<?text?>Click on the envelope to send feedback to Graham

I could also change the image to something more suitable for this type of feedback.
By appleshaw - Wednesday, January 8, 2020
The only way to find out is try it - it looks as though it would work. Potential advantage is that the report does not include your email. I get so much spam that it does not worry me.
It is possible that your error message is from the server. I can get a similar message when using webmail
By BlackAdder - Wednesday, January 8, 2020
Thanks appleshaw,

I'll give that a go.   I've found the place where I'd really like to put the link!   On the header bar, on the left hand side.   The code is in \Skins\{EN} Narrative Report\Code\heading.htm, but I can't edit that file.   This is what I'd like to add:

<div class='floatleft' style="display:inline">
<a target="_blank" href="http://mywebsiteurl/myfeedbackpage">
<img src="images/myicon.gif" width="36" height="36" border="0"/>
</a>
</div>

Not sure if it would work, but that seems to match the code for the link to the GenoPro website in the icon at the top right.

Do you know if that "heading.htm" file can be edited?
By maru-san - Friday, January 10, 2020
The file "heading.htm" can be edited if you remove the protection. Go to this file, right click this file, go to properties and remove the "read-only" click.
By BlackAdder - Friday, January 10, 2020
Thanks maru-san, I must be getting old, did not even think of Read-Only.