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

GenoPro Support Forum




External Hyperlink in report - how do I remove it?

Click to view RSS...
Author
Posted Monday, December 4, 2006 - Post #14978
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers
GenoPro version: 2.0.1.5

Last Login: Sunday, December 24, 2023
Posts: 8, Visits: 72
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
Posted Monday, December 4, 2006 - Post #14979
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers
GenoPro version: 2.0.1.5

Last Login: Sunday, December 24, 2023
Posts: 8, Visits: 72
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


Edited: Monday, December 4, 2006 by TasKiNG
Posted Monday, December 4, 2006 - Post #14980
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Monday, June 2, 2025
Posts: 4,886, Visits: 22,796
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.
Posted Monday, December 4, 2006 - Post #14981
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers
GenoPro version: 2.0.1.5

Last Login: Sunday, December 24, 2023
Posts: 8, Visits: 72
Thanks for the reply.

Seems like a good solution.

Thanks

Dave


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 2 - 1 guest, 0 members, 0 anonymous.
Refresh
No members currently viewing this topic!