If you want to use this example plugin (modified or as is), just copy it to the root of the Plugins folder. The Examples folder contains a sample plugin for a Google search that uses special name parts and uses the year of birth/death and the place of birth/death in the search with explanation. Cremation year/place/country = $year e.g.Burial year/place/country = $year e.g.Baptism year/place/country = $year e.g.Christening year/place/country = $year e.g.With one or more of those variables declared you have the following list of variables available to use in your own plugin: This $attributes collection contain 3 sub collections: The $attributes collection is the parameter used in the researchLinks function. Enter the link in the ‘researchLink’ section, carefully noting where to insert the variables. Use this URL to create a dynamic link in your new plugin file. Perform your search and note the URL the search generates. Go to the research site you want to make a link to. Use 'INT' for 'International' in case of an international search site. Look in the webtrees function getAllCountries for a list of available codes. If a search site is limited to a particular country, set the plugin's research area with the official 3 letter country code. The plugin label is the text used in the research links lists. In the new file, change the class name to match the file name and change the plugin label to something appropriate. Open several plugins to see how they are configured. This depends on the research site to which the link refers. Note that not all plugin files are exactly the same. Take a copy of one of the existing files from the plugins folder or copy the empty plugin from the examples folder and rename it. To get started you can use an existing plugin from the plugins folder or take the empty plugin template from the examples folder. You can expand the list of possible research sites by creating your own plugin. Look in the plugins folder to get a quick overview of the available plugins (research links). A sidebar module that provides shortcuts to popular research websites, using the individual data as a search reference.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |