The Top 10 Surnames list is one of many GEDCOM statistics that are available for your use in the Advanced HTML block.
If you inspect the programming in the Advanced HTML block, you should be able to discover how this block makes use of the various statistics functions.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thank you very much. After your guidance, I succeeded in achieving it.
There are two ways to achieve this, the first is by calling the functions_rss.php file, referring to rss.php, and calling getTop10Surnames();
The second way is to copy the function to the new file by referring to the blocks/top10_surnames.php file,
Here is my new php page code,I hope to help more people.:
I want to call top10 surnames on a custom page, I want to know how do I call a module? Please help me, thank you.
The Top 10 Surnames list is one of many GEDCOM statistics that are available for your use in the Advanced HTML block.
If you inspect the programming in the Advanced HTML block, you should be able to discover how this block makes use of the various statistics functions.
How do you call advanced html blocks on other pages such as individuals page?Or a newphp file. thank you very much!
thank you very much. After your guidance, I succeeded in achieving it.
There are two ways to achieve this, the first is by calling the functions_rss.php file, referring to rss.php, and calling getTop10Surnames();
The second way is to copy the function to the new file by referring to the blocks/top10_surnames.php file,
Here is my new php page code,I hope to help more people.:
Last edit: xiaofo 2018-11-01