Integrating GRAMPS and WordPress is a very straightforward activity. Not a lot of special skills or tools are required in order to make this integration work smoothly. I have to say it is one of the things I like best about GRAMPS.
A couple of points worth remembering (knowing?) first:
- Don’t expect to update your GRAMPS data through WordPress. My experience says GRAMPS works best from a data collection and manipulation perspective as a stand alone PC application.
- Neither database is ever truly linked in this integration. I think that is good for a number of reasons:
- Your GRAMPS database can be secured (remain private)
- Breaking one system doesn’t break everything; a good feature for those of us prone to checking our systems recovery processes regularly.
- Websites are better for sharing information than they are for updating it. This is especially true if you have constrained network bandwidth, lots of different media and files of varying sizes including many that are BIG! I would guess that these conditions encompass most people doing genealogy.
So on to the integration… there are basically 5 major steps:
- Get an iframe plug for use in WordPress- I use and like Iframe Embedder from de77.com
- Modify one of the pre-existing GRAMPS css templates used by GRAMPS NAVWEB to generate websites to blend with your site look & feel (I use Geany as my css editor)
- rename and save the new CSS template in /usr/share/gramps/data/ (Linux path to the templates– maybe one of our readers can tell us what the Windows path might be)
- you also need to add the new css option to constants.py in /usr/share/gramps/ReportBase (Linux path to the templates)
- if you are running on Linux- like me- you will need root privs to perform the above 2 steps
- Go to Reports-Web Pages–Narrated Web Site and generate a web site via this GRAMPS function.
- Copy the GRAMPS NAVWEB website that is generated on to your WordPress site somewhere where you will find it.
- Generate a Page in WordPress for your GRAMPS Website to be located.