Jump to content
TNG Community
Sign in to follow this  
tngrlkrz

FYI: TNG 13.0.3 and Mods

Recommended Posts

tngrlkrz

FYI regarding TNG 13.0.3.

These are the mods I am aware of that had conflicts with TNG 13.0.3.  There are likely others.

There was a database update script in coming from TNG 13.0.2 as well.

 

Share this post


Link to post
Share on other sites
theKiwi
4 hours ago, tngrlkrz said:
  • Fixed Family Tabs

To fix this until a new version is released, edit line 150 of the .cfg file to remove the underscore that is in front of 

target=\"_blank

partway across that line.

Roger

Share this post


Link to post
Share on other sites
tngrlkrz
26 minutes ago, theKiwi said:

To fix this until a new version is released, edit line 150 of the .cfg file to remove the underscore that is in front of 

target=\"_blank

partway across that line.

Roger

Yea, Roger, 

I made that fix privately a couple days ago, and was following 'protocol' to wait until the author has a chance to react or someone who uses it posts an issue.  But, no problem, Erik will appreciate it.

Share this post


Link to post
Share on other sites
XerxX
16 hours ago, theKiwi said:

remove the underscore that is in front of 

target=\"_blank 

Yes, Thank you Roger.

A very strange code-change, in my opinion: HTML code becomes non-HTML for some reason...?

My modification keeps the underscore, however. I tested and it seems to work also without it.

 

I also corrected an error:

Clicking on a "family image" (either in the Family part of getperson.php or at familygroup.php) displays the image and tabs. Clicking an individ tab gives a 404 error.

Not so now - for v13.0.0 (& 1 & 2) and 13.0.3

Posted just now:

https://tng.lythgoes.net/wiki/index.php?title=Fixed_Family_Tab

 

Stay Safe!

Erik

Share this post


Link to post
Share on other sites
tngrlkrz

Hi Erik,

in Fixed Family Tab v13.0.3.3 mod,  I think it should be a 'replace' rather than an 'insert:after' for the showmedia.php changes.  Otherwise one ends up with double headers; the old non-working one, and the working one below it.😉

%target:showmedia.php%

** Mod 1/1

%location:%
    echo tng_menu( $linktype, $type, $personID, " " );
%end:%
%insert:after%  change to %replace:%

/* START MOD: Fixed Family Tab v13.0.3.3 (1/1) */

    if ($linktype == "F") {
        $familyID = $personID;
        $personID = setSESSpersfamID($personID, 1);
    } elseif ($linktype == "I") {
        $familyID = setSESSpersfamID($personID, 0);
    }
    echo tng_menu( $linktype, $type, $personID, " ", $familyID);

/* END MOD: Fixed Family Tab v13.0.3.3 (1/1) */

%end:%

But thanks for finding this long standing bug!

Share this post


Link to post
Share on other sites
XerxX

NOOO!

Thanks Ron!

New versions (3a) uploaded. Link above.

'nite!

Erik

PS. Yes, that bug has really been bugging me for a long time.

PPS. Version for TNG 12 coming soon to a Wiki near you.

Share this post


Link to post
Share on other sites
theKiwi
7 hours ago, XerxX said:

A very strange code-change, in my opinion: HTML code becomes non-HTML for some reason...?

My modification keeps the underscore, however. I tested and it seems to work also without it.

The underscore was removed by Darrin as the fix for getting a blank window after doing an Edit, and then TNG can't close the window that was opened to do the edit.

So you should leave it removed to prevent problems.

Roger

Share this post


Link to post
Share on other sites
XerxX
34 minutes ago, theKiwi said:

So you should leave it removed to prevent problems.

Ooops!

New version posted for 13.0.3 already. Will be changed in a second.

THANKS ROGER!

Erik

Edit: Fixed it. Version 13.0.3.3a has no underscores. Sorry about that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×