External Hyperlink in report - how do I remove it?
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



External Hyperlink in report - how do I remove it? Expand / Collapse
Author
Message
Post #14978 Posted 12/4/2006 4:05:35 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Customers
Last Login: 10/30/2007 6:15:19 PM
GenoPro Version: 2.0.1.5
Posts: 12, Visits: 59
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
Post #14979 Posted 12/4/2006 4:33:56 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Customers
Last Login: 10/30/2007 6:15:19 PM
GenoPro Version: 2.0.1.5
Posts: 12, Visits: 59
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
Post #14980 Posted 12/4/2006 4:36:01 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 9:31:29 AM
GenoPro Version: 2.0.1.6
Posts: 3,517, Visits: 14,852
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.

Post #14981 Posted 12/4/2006 4:38:20 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Customers
Last Login: 10/30/2007 6:15:19 PM
GenoPro Version: 2.0.1.5
Posts: 12, Visits: 59
Thanks for the reply.

Seems like a good solution.

Thanks

Dave
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 1:49 PM

Copyright 1998-2008 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.