Jump to content
TNG Community

All Activity

This stream auto-updates     

  1. Yesterday
  2. Daveatthewell

    TNG 11.11 Table creation fail

    Thanks blemph bearing in mind that I'm new to this version (never had problems with version7) AND I'm attempting to do this using the walkthrough of the Readme.html file (on localhost), looking through the files I can only find the tabledefs.php script that uses MYISAM. Having changed all 35 instances to InnoDB and using Collation utf8mb4_0900_ai_ci, I still only get 24 tables each this time with an IBD extension (and only one of each as opposed to 3 of each before). I even restarted the whole procedure and left COLLATION blank at step 7 and still only got 24 tables. I've just looked a little closer and alphabetically, the 10 missing files are all after tng_places; ie the tables NOT being created are from tng_reports thru tng_x-notes. Confused or what? Dave
  3. bhemph

    TNG 11.11 Table creation fail

    Yes, that is the default. In the table creation script you will need to change all the MYISAM references to InnoDB in order to create all the tables with that collation.
  4. cfj

    Wordpress / TNG integration and Breadcrumbs

    Hi KevyNC. When I tested your code (I asume it's Kloosterman's instruction) --> <?php require ("../wp-blog-header.php");?> I get body class="error404 That's why you get this results in breadcrumbs: 404 not found When I use my own method --> <?php require ("../wp-load.php");?> Now I get breadcrumbs : Home I downloaded a free version of your theme and tried it on my test site. I highly recommend that you use a child theme. If not I made a copy of SuperMag: header.php and named it header-tng.php I comment out a single line (Line 54) in header-tng.php /*do_action( 'supermag_action_after_header' ); Upload the file in your WordPress theme folder. In the WPTNG-topmenu.php I added some code from SuperMag theme and added my own breadcrumbs code. You load header-tng.php from WordPress with: <?php require ("../wp-blog-header.php"); get_header (); ?> If you use the file header-tng.php I uploaded use this code: <?php require ("../wp-blog-header.php"); get_header ('tng'); ?> Note: you will still get: body class="error404 On my site I use: <?php require ("../wp-load.php"); get_header ('tng'); ?> This will remove the body class="error404 I have added a couple of files, so you can see what I have done. Keep me updated. WPTNG-topmenu.php header-tng.php
  5. Daveatthewell

    TNG 11.11 Table creation fail

    bhemph. I'm using utf8mb4_0900_ai_ci, which I seem to recall was the default. Thanks for your interest. Dave
  6. bhemph

    TNG 11.11 Table creation fail

    What collation are you using?
  7. KevyNC

    Wordpress / TNG integration and Breadcrumbs

    This was after using the W3schools website -- if I place after the heads are loaded it jumbles it-- but this shows in the top header ----- need to find how to tweak this...the font is supposed to be black for the last position but I am guessing the theme is over-riding (or ignoring). This is with the code before the header load This is with the code after the headers load See attached code tng-breadcrumbs_kevin.txt
  8. KevyNC

    Wordpress / TNG integration and Breadcrumbs

    ThankS CFJ. Thanks basically what I need I believe I just need to disable the bread crumbs when getting the 404 , and let the TNG display the header you provide. Currently my TNG pages look like below. Actually, if If there was a way when displaying the TNG pages to replace the theme breadcrumbs with the example you provided that would be ideal I believe.
  9. Last week
  10. I'm having problems creating Tables in tng 11. Getting the following error in admin_genconfig.php "Query: SELECT gedcom, treename FROM tng_trees ORDER BY treename Table 'kennedy.tng_trees' doesn't exist". In checking the database I see that 24 tables have been created - not the 34 listed (not surprisingly tng_trees is not present along with another 9). I'm using Wampserver v3.2.3 to test TNG on my PC; Wamp is using MySQL 8 for it's database element. Wamp comes with both Maria db and MySQL db; I've selected MySQL and as such I have to tell it to use port 3308 (ie localhost:3308) to avoid conflict, if that makes any difference. It's not a storage problem on the SSD I'm using. Is there a limit on the number of Tables - I wouldn't have thought so (else why would the 34 be listed). Any thoughts anyone?
  11. cfj

    Wordpress / TNG integration and Breadcrumbs

    I will share with a txt file what I have done and I hope you can use it. Below it's a schreenshoot from my website. tng-breadcrumbs.txt
  12. KevyNC

    Wordpress / TNG integration and Breadcrumbs

    Hi CFJ Yes I believe that will, excuse my lack of knowledge. Do you have a sample code you can share the will accomplish this? thanks, Kevin
  13. fluffy82

    Menu colors in Kloosterman method

    Not sure if it works for everyone or if it's just me, but I can simply use the built in css-editor in WordPress. Any rule added there overrides the TNG style sheets. This way I don't need to each time download, modify and upload the mytngstyle.css file. Changes are imminent, all I need to do is refresh the screen and see if the rule I added works how I expected it to, and save of modify it. To avoid too much clutter in the css, I actually emptied the TNG style sheet and rewrote most of the rules in the WordPress editor. Things like tables and buttons are already defined in the theme so they were ok. But this is only my OCD speaking, you don't have to empty that file.
  14. theKiwi

    Menu colors in Kloosterman method

    I use the plugin, for TNG-WordPress, not the Kloosterman method, but what I think you'll have to do is make changes in the file mytngstyle.css to change the colours of the elements that are showing the original TNG colouring to match the style of your WordPress. You should have template switching turned off and use the mytngstyle.css file that is in the css folder in the main TNG directory. Go through genstyle.css and copy out the elements you want to change, paste them into mytngstyle.css and then alter their properties. Roger
  15. Bob Pliego

    AGCode in Lazarus Guest Book

    I already found the problem with the AGCode. 😀 My version 1.25 beta2 already works, only button that does not work is the email button, its code does't work in PHP7, so the only thing to do is in the configuration, remove that button and with that the others will work without problem. 😉👍
  16. Danita

    Menu colors in Kloosterman method

    I've been using the Kloosterman method to my satisfaction for awhile now, but one thing I simply can't figure out. On kloosterman.be, template colors from one of the templates other than the default. No matter what I do, I seem to get the default template colors, so I made my menu colors similar just to avoid dealing with it. It's been awhile though, and I'm getting ready to do another part of our family, and I'd like to be able to get TNG to use a different template color scheme. My site is https://family.zanre.com - compare https://www.kloosterman.be/genealogy/surnames.php to https://family.zanre.com/genealogy/surnames.php - I'm just stuck with the old default template colors. Does anyone know what I'm doing wrong? I've even tried copying one of the other template folders to "template1" but it doesn't help. I really didn't see anything in the setup instructions that would cover this. I feel like I'm just overlooking something basic! If I turn back on "select template" I can see the template I have chosen, but turning it off (which is what makes the actual system work), just gives me the default template again. Thanks for any assistance you can provide. Danita
  17. cfj

    Wordpress / TNG integration and Breadcrumbs

    I have created a dynamic body id in my custom TNG header, so I can do some simple changes. Regarding breadcrumbs I use the body id, since it's dynamic to the TNG files. I'm not sure if that's what you're looking for.
  18. I imagine this is possible, but sure of the complexity. I am using WordPress website and TNG integration as a sub-site. TNG is installed in a subfolder called "TNG". THe breadcrumbs work fine on the regular Wordpress. What I would like to do is to rewrite them so that any php calls from the TNG folder such as /TNG/searchform.php or /TNG/reports.php appear something like "You Are Here: Genealogy > searchform" or "You Are Here: Genealogy > reports" instead of "You Are Here: Home > 404 not found" below is my .htaccess which probably needs to be cleaned up. Alternately if all calls from the TNG subfolder said "TNG" or just remove the breadcrumbs for any TNG and/or 404 pages. I think there must be a setting that is trying to redirect the 404 to the home page also.(but I could not find it) Thanks, Kevin
  19. Michel KIRSCH

    * SOLVED* Issue in Mod Manager?

    Ah! I don't know that code must be unique too... So this is my fault. Sorry !! Michel
  20. Ken Roy

    * SOLVED* Issue in Mod Manager?

    I am not going to speculate. If you want help, send me the mod.
  21. Michel KIRSCH

    * SOLVED* Issue in Mod Manager?

    I mean "anywhere" in the snippet....
  22. Ken Roy

    * SOLVED* Issue in Mod Manager?

    The Mod Manager expects uniqueness. The location and insert or replacement code mod be unique. As I said, send me the full mod your are trying to install and I will take a look at it.
  23. Michel KIRSCH

    * SOLVED* Issue in Mod Manager?

    just insert a space everywhere in the second snippet gives a solution... Very strange... Michel
  24. Michel KIRSCH

    * SOLVED* Issue in Mod Manager?

    Yes, it is not the complete Mod. It is one of the two parts which gives problem. I found a part of the explication : if the code snippets are not exactly the same, it works fine... (try with changing a letter in the comment lines of the second snippet) Can't send the Mod actually, because the cfg file is not yet complete. Michel
  25. Ken Roy

    * SOLVED* Issue in Mod Manager?

    Michel, Please send me the full mod you are trying to install. You have my email address. Sounds like the posted attachment is not your complete mod.
  26. Michel KIRSCH

    * SOLVED* Issue in Mod Manager?

    Hi all ! Hope everybody is fine ... May be an issue with Mod Manager ? I'm writing a Mod and try to copy code snippets with cfg files. MM says all is OK (installed) but one of my two code snipped is NOT installed !!! (the second in the joined file) Précision : on my local site, with Laragon server, no problem. The problem appears on my on-line site... I join a part of my mod so you can test it home... I'm Using TNG 12.3.0. Regards Michel test_cfg_file_v12.3.0.1.cfg
  1. Load more activity
×