Jump to content
TNG Community

Search the Community

Showing results for tags 'template'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • TNG Specific
    • Announcements
    • Questions and Answers
    • TNG Modifications
    • Installation and Configuration
    • New Ideas and Suggestions
    • Code Discussion
    • Templates or Design Questions
    • CMS Integrations
    • TNG Wiki
  • Community
    • Member Webpages
    • Genealogy
    • Chit Chat
    • Questions and Answers
    • Offers And Requests

Blogs

  • Community News
  • TNG News

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 116 results

  1. How do I add an additional "Main image (home page) image" to the template 19 setup menu? Also, where do I change the length of time the "Main image (home page) images" are displayed? Thanks you all!
  2. slowjim

    TNG compatibility

    People use more different devices now than ever before to view the web. Gone are the days when we only had to worry about how our sites looked on PC's. For example, I use template 14 on my website. Scrn01 below shows how my searchbox looked on a Chromebook. Fortunately, this was easily fixed with a small modification. I am no programmer - I just tinker at this stuff and do what seems to work often based on some solution I looked up somewhere. First, make a copy of index.php in the template 14 folder. Then in the index.php file; Modify line 78 from - input name="myfirstname" type="text" value="" and change it to - input class="shorttext" name="myfirstname" type="text" value="" Then also add the class attribute to line 81. Now in the template14 css folder modify your mytngstyle.css and add the following: input[class="shorttext"] { width: 100%; box-sizing: border-box; -webkit-box-sizing:border-box; -moz-box-sizing: border-box; } This seems to have fixed the problem. You will also likely have to clear your cache on the Chromebook's browser. https://thebrownfamilytree.info
  3. I'm using template 12 for my tree site https://cushings.com/roots/public_tng/ . One of my features was about a French family and I included French translations. In the template, this means making a copy in the selected language, for which a text box and a few other boxes are created for the French text, the French picture title, etc. I periodically change the two featured families. My problem: I've now removed the French family and replaced it with an English one, for which I don't wish to have a French translation. How do I get rid of the added 2nd language boxes in my template? (And the effect that when viewed in French my home page shows the empty translation instead of the English text for this family.)
  4. Jean-Marie Robert

    USING MULTIPLE TEMPLATES

    My site has 2 different trees. Is it possible to use a different template for each tree. I have been using template #10 for the past five years. I am currently using TNG 13.0.3
  5. Hi there I stopped genealogy (finding new information) a couple of years ago, but I am still playing with both Legacy 9 and the TNG database. I bought a new template, that has room for all the stories and not only dates. I love the possibility to be a 'nerd' You can see my results here: https://tng.stegemueller.dk Best regards, Hanne B. Stegemüller, Denmark
  6. I've just put up the first major update to my template NearDawn in about 5 years. Changes I've made include: The "style" is more in line with contemporary publishing standards, having larger fonts, more space between elements, and less clutter. I finally did away with the right-side TNG pull-down menus in favor of a footer block that supports as many of the less used menu items as you want. (I never liked those menus anyway.) The CSS is greatly simplified, and will become the core of a family of templates using similar layouts and blocking. There is no longer any difference between the version I publish for Lindell-Herndon Genealogy and the version I make available for download. So...less maintenance. NearDawnTwo is compatible with the Template Manager mod. The template no longer depends on a mod to deal with certain TNG'isms that I just never could get around without a code change. (Although I may still have a mod for the final version to do language file installation.) For the time being, I'm just soliciting comments from the community on how I can improve the template and fixing a few lingering issues with the CSS. But in about 3 weeks I'll publish NearDawnTwo and NearDarkTwo for download and get to work on some more advanced features. Things I'm considering: Picture shows for the header. A 'feature scroll' for the bottom of the content section. An automated method for generating new pages that have the 'look and feel' of the home page. A template builder. Something like Uncode for TNG. (This is a 'holy grail' project.) Comments are very welcome. -- Bill Herndon
  7. I am using TNG 13.0.3, template 12! under Setup >> Configuration >> Template Settings I enter the following in "Left image caption": ....<center> Family Landgraf and Eckart from Hawaii in 1905 <br> <hr> <hr> <div class = "header"> Info </div> <br> </center> <hr> <! - Start Log In button (Language Switching) -> </p> <div class = "mybutton smallbutton"> <a href="login.php"> &#x1f512; Login </a> </div> <! - End Log In button–> <! - Start Register button (Language Switching) -> <div class = "mybutton smallbutton"> <a href="newacctform.php"> &#9998; Register </a> </div> <! - End Register button–> </center> <! - Start suppress login and registration chapter once user logged in–>..... So far so good! If I now go to save, the index page is completely shifted! I know it has to do with these characters (& # x1f512; and & # 9998;, (because as soon as I leave it out, everything is saved)) How can I elegantly solve this so that these symbols remain ??? I would be grateful for a solution! Thank you!
  8. Hi all, I am using Template 13 and have a photo on my main page that looks great on my big monitor, but when I open the website on my laptop it doesn't resize down to fit. I'm not explaining myself well but the photo actually extends beyond the page boundary on the right hand side across the search fields etc. What have I done wrong? Cheers Chris
  9. Is it possible to change the words "Agency" and "Address" to something else? If so, where would I make that change? I'm using Template 13 and I thought that I would find it in the 'mytngstyle.css' but I am not finding it there. Thank you!
  10. Hello everyone, I would like to make the leftside block (dark brown) on the Getperson page a little wider. How can I accomplish that? Thanks in advance, Rob Using TNG 13.0.3
  11. I have two databases (Licensed) one was using template 8 and the 16. All working well. Decided to revert the one running 16 back to 8, so the form and function would be the same on both. The one that I just changed has one really odd issue. If you click on the magnifying glass next to a location you get a map and other information (OpenStreet). Well on the one I just changed, that map doesn't show. If I change it back to 16 it works. I checked all the settings against the other database, all are the same. Below are two screenshots. I have also tried various locations. Searched the forums, but came up short. Hopefully, this is a very easy one, and I'll be saying "dummy why didn't you think about that?" Regards, Rob Roy
  12. Dear community, I use in TNG 13.0.1 the template 12 (windows/ Firefox). Template 12 because the font fits to another existing website and the cloud of surnames is important to me. Now I want to change the colors of the template to match the other website (corporate design). What is the best way to do that? With TCB from Erik Hoppe? Have already looked at it, changed to the desired colors and downloaded mytngstyle.txt from TCB. How do I continue? Thanks for any help Best regards Annette
  13. Hi, I'm starting to get spam through TNG suggest form, which means such mails bypass my spam detection. I've tried to set the "nosuggest" flag, but the contact page is still shown and active. What is "nosuggest" flag meant for if not for this? Idea: add two alternatives to the contact form: Change it to a simple "mailto" link. Show a contact page with instructions on how to contact, preferably with the mail-address rendered on an image (not in clear text). ~Per
  14. Template 19 appears to have no link on the site log to take you to index.php The site title does have a link but instead of taking you to index.php it tries to take you to ...\template19\index.php and throws an error. index.php is correctly set in Site Design and Def https://familytree.berksfhs.org/index.php Is there an easy way to fix this please? (apart from enabling the Home menu item which I'd prefer not to do.)
  15. After installing v13.0.1 there are some changes in the Administration sides. Above the normal screen I am used to see (the bottom image), I have the same selections shown as a list (at the top). Is this expected, is it a setting? I have cleared my cache, and I have compared the template files (I am using template 16) in the update files 12.1 -> 13 with the files on my server-side. And retransferred to be sure. I have not any modifications to the template. What can be a solution or way forward?
  16. Rod

    Using Photos From "Media"

    I have TNG13 installed and am working through some "newbie" issues. I am trying to change the "default" photo on the home page of the template to one in PHOTOS. When I click on CHOOSE FILE It only allows me to upload a photo from my computer or SELECT only allows me to select from the images in the template's image folder (which are default images). How can I choose a photo that exists in PHOTOS on my site?
  17. Hi All, There was - as I remember - a post regarding this subject. I can't find it now so maybe I'm not correct. Anyway: Installing the Comments mod when you use template #19 will give a database error when you click the Create DB Tables button. No tables are created. The reason is that in topmenu.php there is this: echo tng_icons(1, $title); This call to tng_icons() includes execution of the function get_find_menu() that in all other templates is called from index.php. The function is modified by the Comments mod to read the tng_commentsvisits table. As I use the topmenu.php for the "report DB table creations" page, the table is not created when the function is called in this instance. Hence the error. This is not good and in my view a break of the TNG standard (if there is one). As it's called from index.php in all other templates I don't think it's good programming practice to change it like this. A solution for the future might be to change the table for a cookie that is valid on only one device and may or may not be deleted But it seems okay to completely install the mod using another template (I tested with #1) and then switch to template #19. Sigh... I don't know... Erik
  18. I am not using a template in TNG 13. And have integrated the TNG website in Wordpress (Kloosterman). Now I would like in TNG the name and date of birth and death next to the photo. Now it is below the photo. Anyone an idea how I can adjust this?
  19. Roger Gill

    Template locked

    TNG Installed on our Wordpress website, set up with template 16 and loaded a gedcom file. Later tried out template 18 but decided that 16 is preferred however the system will not let me change to 16. Every time I try in Setup it looks OK but when I return to set up it has reverted to 18. Help to get out of this please.
  20. I would like to replace the links to his and her sides of the family tree with personalized links based on who is logged in. It appears that this mod has been done previously. Question: It has been a long time since I set up my site and I have done virtually nothing to it since setup. I would like to make this modification, but am at a loss as to how to accomplish it. Can someone help me with how to make this change? Please provide a step-by-step approach if you have the patience. This mod: https://tng.lythgoes.net/wiki/index.php/My_User_Links_Add-on This thread: https://tng.community/index.php?/forums/topic/12161-mod-wanted-or-code/&tab=comments#comment-57912 My site: http://www.garyconniefamilytree.net/index.php My server (if it matters): I am using SimplyHosting. Thank you, Gary
  21. Krisamd

    extrapgs in tng12.3

    I have several user pages created in TNG10.1.1 and put under TNG>extrapgs>xxx.php I am unable to understand how to modify the files as indicated in "TNG V12 Change Impact" - Impact on user Created Pages. One such page for example: <?php include( "../begin.php"); if( !$cms['support'] ) $cms['tngpath'] = "../"; include($cms['tngpath'] . "genlib.php"); $textpart = "getperson"; include($cms['tngpath'] . "getlang.php"); include($cms['tngpath'] . "$mylanguage/text.php"); $link = tng_db_connect($database_host,$database_name,$database_username,$database_password) or exit; include($cms['tngpath'] . "checklogin.php"); include($cms['tngpath'] . "log.php" ); tng_header( $text[help], $flags );?> I will appreciate feed back Kris
  22. I'm running TNG 12.3 with Template 8, and just added Michel's mod for surname cloud in the center of three columns on the home page. I'm comfortable editing code, but definitely a novice. I'm stumped on where and how to create some additional space above the frame for the surname cloud -- to push it down and give more room following the "Contact us" text. I've tried adding line breaks in index.php, but that doesn't do it. Thanks. www.mccallroots.com
  23. Martin Kilkie

    My page

    A really obvious question with an obvious answer that I cannot see? I have set TNG to attach each user to their database id. This usefully creates a mypage tab on the individual page. Great. What my users want is a mypage option on the front end. I use template 13 which my users like (i have tested others and my own efforts). I can see how to attach any specific user id but not the logged in person's. I assume there is an internal variable that is set when you log in and this creates mypage, but I cannot see how to use this elsewhere. Any help as usual appreciated. best regards Martin Kilkie
  24. Hi, I'm trying to turn off the use of templates to better customize the homepage (index.php). But, since I already have some useful text stored in the templates, I was wondering if its possible to access them without using templates directly? And maybe there will be some better ways to use text in the customized homepage without storing it in the index.php file itself? Best regards Jastro
  25. zanger02

    Template 18 - links on home page

    I'd like to add more links to the right of the existing links on the home page. No matter what I try the extra links don't show or they are duplicates of the first two. TNG v12.1 and template 18. Not sure what I'm missing. I'm a developer but I'm really new to PHP. Before changes <?php include($cms['tngpath'] . "surname_cloud.class.php"); $flags['noicons'] = true; $flags['noheader'] = true; $flags['nobody'] = true; $tngconfig['showshare'] = false; tng_header( $sitename ? "" : $text['ourhist'], $flags ); if(!$cms['support'] && $sitever != "mobile") echo "<body id=\"bodytop\" class=\"" . pathinfo(basename($_SERVER['SCRIPT_NAME']), PATHINFO_FILENAME) . " homebody\">\n"; $dadlabel = getTemplateMessage('t18_dadside'); $momlabel = getTemplateMessage('t18_momside'); ?> <div class="theader"> <div id="thomemast" class="mast"> <h1><?php echo getTemplateMessage('t18_maintitle'); ?></h1> <span class="tsubtitle"><?php echo getTemplateMessage('t18_headsubtitle'); ?></span> </div> <div id="tmenu"> <ul> <?php if($dadlabel) { ?> <li><a href="<?php echo $cms['tngpath']; ?>pedigree.php?personID=<?php echo $tmp['t18_dadperson']; ?>&tree=<?php echo $tmp['t18_dadtree']; ?>"><?php echo $dadlabel; ?></a></li> <?php } if($momlabel) { ?> <li><a href="<?php echo $cms['tngpath']; ?>pedigree.php?personID=<?php echo $tmp['t18_momperson']; ?>&tree=<?php echo $tmp['t18_momtree']; ?>"><?php echo $momlabel; ?></a></li> <?php } echo showLinks($tmp['t18_featurelinks'],false); ?> </ul> </div> </div> I tried adding two more links ............ $dadlabel = getTemplateMessage('t18_dadside'); $momlabel = getTemplateMessage('t18_momside'); $stepdadlabel = getTemplateMessage('t18_stepdadside'); $stepmomlabel = getTemplateMessage('t18_stepmomside'); ............ <?php if($dadlabel) { ?> <li><a href="<?php echo $cms['tngpath']; ?>pedigree.php?personID=<?php echo $tmp['t18_dadperson']; ?>&tree=<?php echo $tmp['t18_dadtree']; ?>"><?php echo $dadlabel; ?></a></li> <?php } if($momlabel) { ?> <li><a href="<?php echo $cms['tngpath']; ?>pedigree.php?personID=<?php echo $tmp['t18_momperson']; ?>&tree=<?php echo $tmp['t18_momtree']; ?>"><?php echo $momlabel; ?></a></li> <?php } if($stepdadlabel) { ?> <li><a href="<?php echo $cms['tngpath']; ?>pedigree.php?personID=<?php echo $tmp['t18_stepdadperson']; ?>&tree=<?php echo $tmp['t18_stepdadtree']; ?>"><?php echo $stepdadlabel; ?></a></li> <?php } if($stepmomlabel) { ?> <li><a href="<?php echo $cms['tngpath']; ?>pedigree.php?personID=<?php echo $tmp['t18_stepmomperson']; ?>&tree=<?php echo $tmp['t18_stepmomtree']; ?>"><?php echo $stepmomlabel; ?></a></li> <?php } echo showLinks($tmp['t18_featurelinks'],false); ?>
×