Jump to content
TNG Community

Update to Book Generator Demo


BobS

Recommended Posts

Hello All,

In continuing the development of the Book Format, I have added two new features. 

First is the addition of the “Book Options” button. Now the user can select printing options and add sections in the book such as a preface, introduction - whatever verbiage is needed to enhance the book. In order to make this section work, there is now a new database table to remember all the options for the given individual. You can see the results here for my example ancestor Peter Baker
http://www.schwartznet.net/genealogy/register.php?personID=I118&tree=Tree1&generations=3

Feel free to play around with the various buttons. However, remember that any changes will be saved to the database table so that the next user will see it. I might suggest that you “adopt” any random person other than Peter Baker if you experiment. Eventually, I will reset the database, and the Book Options button will be closed off by the login.

The second feature is the cemetery section were I list all the people buried in the various cemeteries. To be listed on this section, the individual must be noted on the Headstone part of TNG. It takes into account multiple photos for one individual, and multiple individuals for one photo.

Finally, there were several requests to produce a mod so that others can test the routine.  In all honesty, I am not sure how to do it. So let me offer this compromise. I will disable the database part of the Book Option section. Then I can make available my modified register.php, reglib.php and a new CSS file called bookformat.css. Simply rename your current files to something like register-original.php and reglib-original.php for safekeeping, and drop the new files in their place.

Comments/suggestions are always welcome.

Regards,
Bob Schwartz
 

Link to comment
Share on other sites

  • 9 months later...

Bob,   this work you have done looks outstanding !   I have searched for this functionality for years !   How can I get the programming you have done and incorporate in my tng site/data ?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...