Jump to content
TNG Community

All Activity

This stream auto-updates     

  1. Today
  2. For years, my showsource pages have added in my custom TNG header above the table that displays the source. Here is an example: https://ancestors.pitard.net/showsource.php?sourceID=S221&tree=1sttree I have no idea what might be causing this. It has lasted through several iterations of TNG. The Citation Master mod has not effect either way. Does anyone have an idea how this might be fixed? I am not good enough with code to figure out way. none of the other sub-pages have this problem. Thanks for any help - Derrick
  3. Yesterday
  4. Ken Roy

    Adjust Date Field Width

    Update the css definition in your mytngstyle.css for the the class="eventdatecol"
  5. mycroft

    Adjust Date Field Width

    You're right. Now I see "Mobile Site Enhancements" override it. Now, is there anything I can do about it? I can't see a way to change 'eventdatecol' width manually.
  6. Michel KIRSCH

    Adjust Date Field Width

    if you use the mobile_site mod, the $datewidth is disabled and replaced by the 'eventdatecol' class... Michel
  7. Also, I think geocoded places are not removed, since not all GEDCOM files have the geocoding of places in them. The zoom and place level I do not believe come from the GEDCOM either. The late Jay Wilpot (jayat1familytree) had posted a list of what tables he cleared before his import of a GEDCOM. I believe that Tom (fluffy82) may have continued this process. But it does come down to testing a bit to find what your GEDCOM replaces when you do the replace all option, since you don't want to clear something if that does not get populated by the GEDCOM from your desktop application.
  8. mycroft

    Adjust Date Field Width

    Hi, I'm sure it's one of the simplest mods ever made, but still... Does anyone have a clue why my page became insensitive to anything I put there as a preferred column width? I see in my code that changes are implemented to getperson.php, but still no effect on what can be seen online.
  9. bhemph

    Adding languages

    Ok, yes that does help. Yes, not trivial but start by creating a folder Ukrainian-UTF8 and copy admintext.php, alltext.php, cust_text.php, data_protection_policy.php, and text.php into the folder. That gives you the minimal base files for translation that are used by the dynamic language switching. I think the help files are being changed to not being translated now and letting Google do it. Nothing needs to be translated in cust_text.php and the mods all look for the English text. The smallest file to start with would be alltext.php and that text is used on both the admin side and the public side. $dates['JAN'] = "Jan"; $dates['JANUARY'] = "January"; So you would start with changing "Jan" to the shortened version of the month and "January" to the full month name. It is only the part after the = that you change and you would not translate any of the commented lines either. At least starting with the first section being the dates, it would make sense how the changes are working to be seen quickly in setting the new language up and seeing results. After alltext.php, text.php is the next file to do since that is text strings for the public facing side of the site. Then the admintext.php would be next with the text strings for the admin side of the site. If there are things that seem like it is two strings with the same word in English, you may have to check what that is in other languages, since German, Spanish, Portuguese, etc. may have an example showing that the two are masculine/feminine versions of the word or some other usage that does not exist in English but does in different languages. There may be some spots that are not ideal language construction for sentences with the base structure being in English and that not being exactly the proper sentence structure for other languages. It is a slow iterative process, but there are some language files out there that still have some untranslated English strings in them. Starting with the alltext and common sections at the bottom of admintext.php and text.php will seem to have the most bang for the time spent since they are used on multiple pages within TNG. Then moving on to the sections that apply to specific pages where you can feel like you have finished all the translation for a page will help to make it not feel quite as overwhelming or daunting of a task.
  10. The tng_places table does not get reset if you share places between trees (Pool location option). Tables identified in Why you cannot move a site by GEDCOM alone
  11. MadRanger

    Cenus Plus Edit tab

    In a recent post ref cpu usage and Census Plus International (CPI), MOD author Ken Roy suggested I delete “unused rows for the census transcript by using the Admin > Census Plus International > Edit tab.” I should have begun that process back when I started using CPI but did not because I repeatedly found additional families on the same sheet – sometimes weeks after I first imported the DOM. There may have been a simple workaround or two to re-importing – but I chose not delete the unused. That appears to have been an unfortunate decision. Regardless, I now have 9015 pages of “Edit tab” results that presents a problem: it takes 60-plus minutes to run the query while using ~14% cpu . Going to a second page of the query results takes another 60-minute delay – or thereabouts. Is there a way I can run a query at the cP to accomplish the same result with this caveat: there are times when I want to keep unlinked persons who appear in a household; those persons might be servants, lodgers, etc. Thanks, Regis www.CarrFamilyTree.com TNG v13.1.2 Censusplus_v13.0.0.13_beta-1
  12. Good Afternoon, When importing a GEDCOM with the replacks,e ALL box checked. What tables are and ARE NOT 'reset'. Meaning Tables such as Places, rows do not get delete before import so old places will remain. At least that has been my experience. I can delete manually, but wonder if there was a list of was gets "cleared" and what does not. thanks,
  13. found my issue, was in the php.ini was session.save_path = "/var/cpanel/php/sessions/ea-php72" had to change to current php version session.save_path = "/var/cpanel/php/sessions/ea-php74"
  14. Nestorph

    Adding languages

    I do speak, read, and write Ukrainian (first language). I think I'm beginning to understand the scope of what I asking for! Not trivial... Thanks
  15. bhemph

    Adding languages

    Do you know Ukrainian to be able to translate the text strings from the files in the English languages folder into Ukrainian? If so, then you would need to work on that and communicate with Darrin to add the new language to the distribution. If not, then the first step would be finding someone who could help with the translations.
  16. Nestorph

    Adding languages

    What's the process for adding new languages? I'd like to add Ukrainian to the list of options.
  17. The ascendant/descendent tree displays in the non-admin mode of TNG are quick useful if limited. I'd often like to see a similar tree when I'm logged into the admin portal. Is there a way to do so?
  18. Moonerd

    Adding a container div

    Thank you, Cees, Hopefully, I can mess with this soon. Justin
  19. klooster

    Adding a container div

    My div Titlebox is just a class that puts a thin line around the main content, to outline the content a bit more. Because the div has to start before the main content loads. I did put in in my WPTNGtopmenu.php, like this: ---------------------------------- <?php /** Loads the WordPress Environment and Template */ require ('../wp-blog-header.php' );\ get_header (); ?> <div class="titlebox"> ---------------------------------- Because this starts the div, there has to be an end div in the WPTNGfooter.php to close the div call, like this: ---------------------------------- </div> <?php get_footer('tng'); ?> ---------------------------------- The Titlebox css class looks like this: ---------------------------------- /* START TNG LINE AROUND MAIN CONTENT */ .titlebox { border: 1px solid silver; background-color: #f9f9f9; padding: 10px; margin: 1px; } /* END TNG LINE AROUND MAIN CONTENT */ ----------------------------------
  20. Last week
  21. Moonerd

    Adding a container div

    Hello, I am not PHP savvy “yet” and I am not sure how to implement that this with TNG. On my website, I am looking to add a new container div to the div with the id “inner-wrap”. So, the div with the id “inner-wrap” will be the child of the new container div. Example: <div class=”new-container”> <div id=”inner-wrap” class=”wrap hfeed kt-clear> </div> </div> Another example is the Kloosterman’s website his container div id is called “titlebox”. My sight: OurSentimentalJourney.net I am using the Kloosterman method – WordPress/TNG TNG: v.13.1.2 My goal is to put a max-width on the new-container div. which will be easy once I have the div. 😃
  22. fluffy82

    Kloosterman method setup question

    You'll learn, it's easier than it looks Don't hesitate to ask here if you have trouble.
  23. klooster

    Kloosterman method setup question

    Glad you got it straightened out!
  24. rakelbara

    Kloosterman method setup question

    Excellent! Thank you! As you can see I am a complete noob when it comes to CSS.😂
  25. fluffy82

    Kloosterman method setup question

    Then add a margin #content { margin-left: 50px; margin-right: 50px; } Or however big/small you want the margin.
  26. rakelbara

    Kloosterman method setup question

    Yes, it is.
  27. klooster

    Kloosterman method setup question

    Well it is an Astra Theme related thing, I cannot help you there, MAIN THING is that the TNG integration is working
  28. rakelbara

    Kloosterman method setup question

    It worked better with fluffy82's solution. If I try your code it looks like this:
  1. Load more activity
×