I would like to move the Where within Source column leftwards. I tried copying the Plugin and renaming before amending the code but when I tried to install the amended Plugin it got the message already installed.
How should I go about this please?
* Rearrange Column Headings in Where Used Record Link plugin
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Rearrange Column Headings in Where Used Record Link plugin
Hi David,
The technique is much the same as you might use to create a duplicate Word document with a similar name.
In Tools > Plugins select the current Where Used Record Links Plugin and click Edit in the pane on right.
In the Plugin edit window change the @Title: to the new name, e.g Where Used Record Links New.
Use File > Save As and give it that new Plugin title.
Now use Edit > Find and search for dicType.
A few lines further down at about line 200 you will find script such as:
doTypeDetails( "SOUR" , "Media" )
Move the line:
doTypeDetails( "SOUR" , "~.PAGE" , 180, "Where within Source" )
up to just below the line:
doTypeDetails( "SOUR" , "Media" )
You can reorganise the other lines to suit the column order you require.
The numerical parameters specify the column widths.
That script around line 200 customises the Result Set for each record type.
The common columns are handled near the end of the Plugin around line 440.
The fhOutputResultSetColumn(...) functions format each column.
You can rearrange those too if you wish.
When finished editing use File > Save then X Close the window and Run your new Plugin.
The technique is much the same as you might use to create a duplicate Word document with a similar name.
In Tools > Plugins select the current Where Used Record Links Plugin and click Edit in the pane on right.
In the Plugin edit window change the @Title: to the new name, e.g Where Used Record Links New.
Use File > Save As and give it that new Plugin title.
Now use Edit > Find and search for dicType.
A few lines further down at about line 200 you will find script such as:
doTypeDetails( "SOUR" , "Media" )
Move the line:
doTypeDetails( "SOUR" , "~.PAGE" , 180, "Where within Source" )
up to just below the line:
doTypeDetails( "SOUR" , "Media" )
You can reorganise the other lines to suit the column order you require.
The numerical parameters specify the column widths.
That script around line 200 customises the Result Set for each record type.
The common columns are handled near the end of the Plugin around line 440.
The fhOutputResultSetColumn(...) functions format each column.
You can rearrange those too if you wish.
When finished editing use File > Save then X Close the window and Run your new Plugin.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Rearrange Column Headings in Where Used Record Link plugin
Many thanks Mike, have managed to change column order to suit my need. Have been using this plugin while converting Method 2 census entries to Method 1. Making a few discoveries as I work through, especially with items I recorded many years ago.