Jump to content
TNG Community
wkenddad

Mouse over addition help

Recommended Posts

wkenddad

How would I modify the "mouseover" routine to include the individuals ID #?

Share this post


Link to post
Share on other sites
wkenddad

When you are on an individuals page and "mouse over" a relative a summary window appears with the individuals info.
I would simply like that individuals ID# to be included in this info.
See included snapshot

 

Screen Shot 2015-11-15 at 12.16.57.png

Share this post


Link to post
Share on other sites
JRobison

Raymond,

This will require updating the Family Preview mod which I don't see the importance in.

The preview is just a minimum info of that person based on TNG's person preview.

Share this post


Link to post
Share on other sites
wkenddad

Which module is it included in?
If I know that I can try to modify my self.

Share this post


Link to post
Share on other sites
JRobison

The mod adds a file 'familyprevlib101.php' to your root directory.

Edit this file in your mods folder.

At about line 34 'if ( $row['sex'] == "M" ) {'

Add this line before...........

$personstr .= showEvent( array( "text"=>$text['personid'], "date"=>$prepersonID, "place"=>$tree, "np"=>1  ) );

Uninstall/reinstall the Family Preview mod.

Share this post


Link to post
Share on other sites
wkenddad
On 11/27/2015 at 2:59 AM, JRobison said:

The mod adds a file 'familyprevlib101.php' to your root directory.

Edit this file in your mods folder.

At about line 34 'if ( $row['sex'] == "M" ) {'

Add this line before...........

$personstr .= showEvent( array( "text"=>$text['personid'], "date"=>$prepersonID, "place"=>$tree, "np"=>1  ) );

Uninstall/reinstall the Family Preview mod.

I noticed that when I upgraded to 11.x that I lost this function?
The code looked the same.

But I cannot get it to function as before

Share this post


Link to post
Share on other sites
Hiraeth

You need to edit the version of 'familyprevlib101.php' in your mod folder. The reinstall of the mod then will copy this to the root folder.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×