pnTNG 3.xx for TNG v6 |
||
|---|---|---|
| Wendel | Posted: 23.10.2006, 00:02 | |
|
registered: Jun. 2005
Posts: 82
Status: offline last visit: 03.05.08 |
Announcing pnTNG 3.01 * Major Update to work with TNG v6 - Supports new AJAX usage in TNG * Changed the method of using pnTNG without IFRAMES. Now uses method actively supported by TNG. - TNG must be installed as a module in PostNuke. pnTNG is now a "helper" module for TNG. - includes an updated pntng.php to catch old style calls (from bookmarks and search engines) into new style * Updated pnTNG administration - It is now much easier to select TNG directory (now module name). Just select from pull-down menu. - Added color status indicators for correct configuration. Checks to make sure TNG is an active module. - Added PostNuke administration menu header to top of pnTNG administration. - Added TNG administration link in the pnTNG administration menu. - user name for Guest account is now programable - Since TNG 6 now uses md5 for passwords, made TNG user passwords the same as PostNuke passwords. * pnTNG is now PostNuke API compliant - Uses pnRender templates - easier to make small changes to the look and feel of the output - Allows RandomPhoto, ThisDay, and WhatsNew blocks to be cached by pnRender in PostNuke (increase performance) * Supported on PostNuke 7.6.2 * With all the changes, please see the updated installation instructions I have worked a great deal with Darrin Lythgoe the past few weeks to get this working. That said, there are still a few issues that are still being worked. In many cases, these will come out in the TNG updates. Also, since this is a major update, I would expect a few problems. Please post any issues here and I will try to address as fast as I can. You can get the update in the Download section. - Wendel |
|
|
|
|
|
| Wendel | Posted: 23.10.2006, 00:06 | |
|
registered: Jun. 2005
Posts: 82
Status: offline last visit: 03.05.08 |
Here are two changes that I hope Darrin will take for v6.04. In pedxml.php, line 30, is missing the needed xmlcharacters(). Need to change the line to $photolink = "<photolink>" . xmlcharacters("$showmedia_url.mediaID=$row[mediaID]&medialinkID=$row[medialinkID]") . "</photolink>\n"; The above allows the pedigree charts to correctly display. Without this the charts are blank if there are any pictures. [edited] The following is no longer needed: In genlib.php, function getURL(), line 550: Need to change the line to $url = $args ? "$cms[url]=$destination&" : "$cms[url]=$destination"; The above change is needed to have the decendants tab work correctly as well as the pedigree charts. [end edit] |
|
|
|
|
|
| admin | Posted: 28.10.2006, 23:25 | |
|
registered: Jun. 2005
Posts: 6
Status: offline last visit: 20.05.07 |
I posted v3.02 which contains bug fixes for 1. Use with IFRAMES (I spent all my time working on the non-IFRAME parts that I missed some things in the the IFRAME usage.) 2. The RandomPhoto block was looking to the wrong place for the photos. You can get the update in the Download section. |
|
|
|
|
|
| Christoffer | Posted: 11.11.2006, 11:31 | |
|
registered: Nov. 2006
Posts: 2
Status: offline last visit: 12.11.06 |
haorray ...nearly. Drict to TNG works, but when I go thru pnTNG I get: Warning: Invalid argument supplied for foreach() in /data/members/paid/c/h/christofferdegraal.com/htdocs/www/family/modules/Xanthia/pnuserapi.php on line 590 |
|
|
|
|
|
| Guest | Posted: 11.11.2006, 20:20 | |
| Unregistered User |
I'm going to need a little bit more information. The error is not coming from pnTNG, but from the Xanthia module. That's not to say the pnTNG is not causing the problem, it is just not obvious from the error message. Can you please confirm that the admin section of pnTNG is set up correctly. Also, you can email you site link to me if you wish at pnTNG@voigtworld.com Also, what link did you follow to "go thru pnTNG". It might give me a clue as to what is going on. - Wendel |
|
|
|
|
|
| Christoffer | Posted: 12.11.2006, 07:19 | |
|
registered: Nov. 2006
Posts: 2
Status: offline last visit: 12.11.06 |
Hi Wendel, thanks for getting back to me so speedily. > Can you please confirm that the admin section of > pnTNG is set up correctly. yes, both green lights other info sent to u by email. many thaikns ~ Christoffer |
|
|
|
|
|
| admin | Posted: 22.11.2006, 23:42 | |
|
registered: Jun. 2005
Posts: 6
Status: offline last visit: 20.05.07 |
A summary of the issues Christoffer and I debugged: 1) the Root Path in the TNG configuration did not have a trailing slash "/". A check for this will be included in 3.03 of pnTNG. 2) The index.php supplied with TNG does not take into account CMSs (like PostNuke). 3.03 of pnTNG will include a file index_pnTNG.php that can be used as a simple replacement for TNG's included index.php 3) If you want to include your genealogy in a PostNuke menu, you can call it by using [tng-module-name]. For example, if your TNG is installed in the modules/TNG directory, then you call this in the menu with [TNG]. Likewise, if TNG is installed in modules/genealogy, then you call it with [genealogy]. |
|
|
|
|
|
| admin | Posted: 22.11.2006, 23:46 | |
|
registered: Jun. 2005
Posts: 6
Status: offline last visit: 20.05.07 |
I posted v3.03 which contains the following updates: 1) fixed a problem with showing photos in the WhatsNew block. 2) enhanced installation instructions in Admin area 3) Added check in the Admin area to make sure the TNG Root Path setting matches expected value 3) Before TNG was being wrapped in a DIV and a TABLE. Now only wrapped in a DIV. 4) Added index_pnTNG.php as an example index.php file that can be used with PostNuke. You can get the update in the Download section. |
|
|
|
|
|
| aalm | Posted: 25.12.2006, 20:23 | |
|
registered: May. 2006
Posts: 1
Status: offline last visit: 25.12.06 |
Hi Wendel. I just upgraded to TNG 6.0.3 from 5.6, and to pnTNG 303 from 214 (under PostNuke .762, though I'll be taking it to .764 soon.) Now I'm having problems with some displays not populating with data. When embedded in PostNuke via pnTNG 303, viewing Ancestors in Standard or Compact or Box view fails to populate boxes, with an URL like this: index.php?name=genealogy&file=pedigree&personID=I77&tree=familyname&parentset=0&display=standard&generations=2 Viewing in Text view inside PostNuke pulls the correct information: index.php?name=genealogy&file=pedigreetext&personID=I77&tree=familyname&parentset=0&generations=2 When embedded in PostNuke (via pnTNG), the "Home" jumps out of pnTNG and goes directly to TNG: http://mysite.org/modules/genealogy/index.php Viewing TNG directly this way (not via pnTNG) properly fills the Standard, Compact and Box views with data. In Administration: Configuration: Paths and Folders, the Root Path is like /home/mysite/public_html/modules/genealogy/ while paths to folders are simply the folder names, like so: photos documents histories etc. I'm using the index_pnTNG.php file as the index. In Administration: configuration: Site Design and Definition, the Genealogy URL is set to http://mysite.org/modules/genealogy/ Thanks for any help you can offer. Andy |
|
|
|
|
|
| Wendel | Posted: 25.12.2006, 22:30 | |
|
registered: Jun. 2005
Posts: 82
Status: offline last visit: 03.05.08 |
Andy, Both of your problems should be corrected by two changes that I hope Darrin will take for v6.04: 1) In pedxml.php, line 30, is missing the needed xmlcharacters(). So to make this work, you will need to change the line to $photolink = "<photolink>" . xmlcharacters("$showmedia_url.mediaID=$row[mediaID]&medialinkID=$row[medialinkID]") . "</photolink>\n"; The above allows the pedigree charts to correctly display. Without this the charts are blank if there are any pictures. The "Home" problem is also known, and Darrin has indicated he will accept a fix that I sent him. It is a bit more complicated, so I will not post here. In the mean time, I believe you can disable the "Home" link from showing up by changing a setting in the administration menus of TNG. Once fixed by Darrin, I believe you will just want to reference "index" as your home (no .php since PostNuke does not like the .php at the end.) If you really want the fix, send me an email at pntng@voigtworld.com and I will email you the changes (about 6 lines of code in two files.) |
|
|
|
|
|
Users online:
This list bases on the users active in the last 10 minutes
Powered by pnForum Version 2.6