GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
External Hyperlink in report - how do I remove it?


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

By TasKiNG - Monday, December 4, 2006
Hi,

I have just installed 2.0b20c and have generated a report for my web page.
The problem is that when looking at an individual there is an 'Associated external link information' hyperlink. This appears under 'Individual Additional Information'.

In the past the hyperlink was not part of the report and I have been using it to point to a folder on my hard disk for each individual, that contains all the documents I have for them.

What I end up with now in the report is a hyperlink that points to a folder that does not exist.
Note: I do not want to hyperlink to any of my documents from the report so my question is:-

How do I prevent individuals external hyperlinks from appearing in the report.

Cheers

Dave
By TasKiNG - Monday, December 4, 2006
Right, think ive sorted this one out. So for anyone else with the same problem here is the solution.

In the report generator click 'Edit Skin' this will create a folder 'C:\Program Files\GenoPro Beta\Skins\Customized English Narrative Report'

in this folder you will find a file called 'Util.vbs'

edit this file in a text editor and remove the line 'If obj.Hyperlink <> "" Then Report.WritePhraseDic "PhExternalLink", Util.FormatString("{0}", obj.Hyperlink)'

Save the file

Now when you generate a report using the 'Customized English Narrative Report' external hyperlinks will not appear on the report.

There may be a better way of doing this but it works so i'm happy w00t
By GenoProSupport - Monday, December 4, 2006
Perhaps a short-term compromise is to inlcude the external hyperlink if it begins with "http", "https" or "ftp".  This way, local files would be excluded from the report.
By TasKiNG - Monday, December 4, 2006
Thanks for the reply.

Seems like a good solution.

Thanks

Dave