Forum

Please consider registering
guest

Log In Register Members

Register | Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Add today's birthday, anniversaries, and deaths
Apr 23, 2007
3:52 pm
Admin
Forum Posts: 103
Member Since:
Nov 18, 2006
Offline

Remember how I wrote that I switched genealogy packages – PHPGedView to TNG?  Well, the folks over at TNG forums have added a nice piece of script that allows you to insert it anywhere on your website.  I noticed that another WordPress had successfully added it to his blog.  Well the wheels started turning from there.

With the correct php files and a piece of code into 3 separate King text widgets, I was able to get it to work.

Files to make it work and the code for the King text widget:

Birthdays: http://www.tngforum.us/index.p…..topic=1207
Birthday code: [code]<?php include("http://www.your_url.com/genealogy/todaybirthdays.php&quot;); ?>[/code]

Anniversaries: http://www.tngforum.us/index.php?showtopic=1209
Anniversary code: [code]<?php include("http://www.your_url.com/genealogy/todayanniversaries.php&quot;); ?>[/code]
Deaths: http://www.tngforum.us/index.php?showtopic=1208
Death code: [code]<?php include("http://www.your_url.com/genealogy/todaydeaths.php&quot;); ?>[/code]

Why did I chose King Text widget?  It's the only text widget that I know that allows for PHP code.  And it's free.

Each one of these codes will need to be modified for your corresponding URL/path to TNG. 

Jun 19, 2007
1:41 am
Admin
Forum Posts: 103
Member Since:
Nov 18, 2006
Offline

Slight problem with the update to WordPress 2.2…..the King Text widget doesn't work.  Great!  Now I have to wait until a solution is made on that one unless Mr Papa comes up with an idea…..knowing him, he'll have it whipped out in about 30 minutes or less.  Unfortunately, he's on vacation.  Until then, we wait.

Jun 26, 2007
12:34 pm
Admin
Forum Posts: 103
Member Since:
Nov 18, 2006
Offline

clarkkent93 said:

Slight problem with the update to WordPress 2.2…..the King Text widget doesn't work.  Great!  Now I have to wait until a solution is made on that one unless Mr Papa comes up with an idea…..knowing him, he'll have it whipped out in about 30 minutes or less.  Unfortunately, he's on vacation.  Until then, we wait.


Again it was Mr Papa to the rescue.  He had barely returned from vacation and he was already answering my emails.  The guy must like me!

Anywho, there's a replacement widget out that there that handles PHP….it's called Samsarin PHP Widget.  Very nice and easy to use.  Just insert the code and you're ready to go. 

I'm going to check with Mr Papa to see if he minds if I share the code for the widgets.  Somebody out there might find it useful….if they ever read these posts. 

gathering ground for our families