• phkoech

    (@phkoech)


    hello,

    Instead of browsing the liste of alphabet letters, Is it possible to add a seach engine to search for a specifique fistname/lastname ?

    Thanks for your help

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author colinsp

    (@colinsp)

    No there is no search function as you describe. Should one be added how would you envisage the display?

    I really like the simplicity and accuracy of this plugin. Excellent!

    Regarding “Search”, I find the listing by surname quite sufficient to home in on an individual. However, as in my case, the ancestors are hidden in a restricted area of the website (you have to register and login). In order to to find first names + surnames for those who have not registered (and for Google search et al to index those names), I am using a wonderful plugin called Ajax Search Pro which can even index shortcodes of the type Gedshow uses. But there is a catch here…. If I index the shortcode [gedshow living=”yes”]with Ajax Search Pro, it won’t work as I want it to because this shortcode will only list surnames by themselves and the number of instances any surname is found in the database. The “real thing” ie. the full name of a family member is still two clicks away and cannot be reached by a single shortcode to date.

    Would it be possible to add a shortcode that simply lists all names in the database (first names with surname for each family member for the complete tree) much in a similar way as the shortcode [gs_allnames] does (however also for living members too)? Also, the link to the family member when clicked in the resulting list should work. In my specific implementation a login form would then appear which requires a visitor to register first, then login to access the specific relative’s details.

    In summary a new shortcode [gs_allnames living=yes] with active name links would greatly enhance Search capability using a plugin such as Ajax Search Pro.

    Plugin Author colinsp

    (@colinsp)

    Niels

    You can do this yourself by editing one file.

    Go to Plugins > plugin file editor > gedshow > gedshow_allnames_shortcode.php and in line 16 change N to Y and then save. That will do what you want.

    Excellent! Thank you for your prompt reply – that is very helpful indeed.

    If there is an easy way (an additional PHP snippet to the shortcode routine?) to add a link to the details of each individuals listed, that would be great too.

    Let me know.

    Plugin Author colinsp

    (@colinsp)

    No sorry there is no way to do that easily.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.