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
    • 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 100 results

  1. 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
  2. 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?
  3. 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.
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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); ?>
  10. I am using template 13 on TNG version 12.1 if that means anything. I am trying to figure out what to change in order for the Calendar to display the year in a different color. As you can see in my attachment, the year that appears next to the person's name is in white and barely visible. I opened the css titled Calendar.css and thought it would be an easy find. But I cannot figure out which line to change. I tried adding a line to the acal.Event, but that did not seem to change it. /* calendar */ #calHeader { font-size: 14pt; font-weight: bold; text-align: center; } #calLegend { background-color:#D6E7FF; border: 1px solid #5576BE; font-size: 9pt; font-weight: bold; margin-top: 8px; padding: 4px; text-align: center; } #calWrapper { width: 100%; } a.calDate { color: #000; float: left; font-size: 11pt; font-weight: bold; } a.calMore { font-size: 8pt; line-height: 24px; margin-left: 16px; } a.calEvent { font-size: 8pt; } a.hidden { background-color:silver; font-style:italic; padding:2px; } a.nothidden { padding:2px; } div.calEvents { margin-left: 16px; position: relative; top: -14px; } div.calKey { margin: 8px; font-weight: bold; } img.calIcon { margin: 2px; position: relative; top: 2px; } table.calTip { background-color: #fff; border: 1px solid #5576BE; padding: 0; } table.calendar { background-color: #eee; border: 1px solid #6687CD; margin: 4px 0px; } td.calDay { background-color: #fff; border-top: 1px solid #5576BE; border-left: 1px solid #5576BE; border-bottom: 2px solid #5576BE; border-right: 2px solid #5576BE; height: 110px; margin: 4px; padding: 2px; text-align: left; vertical-align: top; width: 14%; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; } th.calDay { font-size: 10pt; font-weight: bold; text-align: center; } td.calSkip { height: 110px; width: 14%; } td.calToday { background-color:#FFF5E4; border-top: 1px solid #5576BE; border-left: 1px solid #5576BE; border-bottom: 2px solid #5576BE; border-right: 2px solid #5576BE; height: 110px; margin: 4px; padding: 2px; text-align: left; vertical-align: top; width: 14%; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; } li.flat { display: inline; list-style: none; margin: 0px 8px; } ul.flat { display: inline; Thank you
  11. LJLachance

    GDPR Popup "template?" Customize

    I want to modify the size and shape of the GDPR popup AND add an icon to the popup as well. Where will I find the size and shape defined in order to attempt to accomplish these changes? I have found that I can change the "layout" in terms of color etc., in mytngstyle.css as well as changed the wording in the Cookie Notes text of the languages but cannot find where the actual size and shape is defined. Thanks for any help.
  12. mkmcgold

    Turn off Header

    Is there a way to show the header only on the index page and not on any other pages. I'm sure I was able to do that at one time but either am dreaming or forgot how to do it. I added a picture to the top of my header that is a bit too big and when the header loads to all my other pages it takes up too much room. THANKS Template 15 ver 12.2
  13. Hi all, Fairly new to this. It's been a long time since I messed around with web pages. I've installed Template 15 and it has the featured articles with headers and the sidebar feature articles with headers. I've modified some of what appears there and I've looked around before posting, so my question is to add a new feature 'article' or feature post, do I need to edit the features.php (I think that's what the file is called) and add what i need, just as I would when creating a new web page? I did see something in the tutorials or wiki pages about modifying the code, but wasn't sure if it pertained to this, or something else. Also, would just adding a page feature1.php ; feature2.php etc be what I need to call the content from those pages to add to the feature 1, feature 2, sidebar feature 3, 4, 5 etc? Or should I be following this instruction for histories?: https://tng.lythgoes.net/wiki/index.php?title=User_Pages_-_Getting_Started I found it last night but I can't for the life of me find the features.php instructional. Basically, I want to be able to add the article that I've got to a page and keep it looking somewhat like the rest of the TNG site with the template colors etc. If I modify the colors, cool, but at the moment that's purely aesthetics and I have MUCH to do! Thanks in advance. Raewyn.
  14. I'm in the process of setting up a private site for family members (this explains the blurred text in the image attached) based on information that mum and dad entered into Reunion over a number of years, using TNG and template 18. Mum and dad used the "Notes" field in Reunion as a place to write biographies of some people...not horrendously long text, but also not short notes either. For that reason, I have set the Notes section in TNG to display higher up on individual pages...but instead of displaying the full text of the field, it's putting scroll bars into the text area, which makes reading a bit awkward (the image I'll upload has an arrow pointing to the scrollbar). Is there a simple way to turn off the scrollbars within the notes area? Either by an admin setting or a simple hack to the template? On a side note...if there is a better place in an individual page/record to place a biography (and how you would go about that)...then I'm open to making adjustments...although that will be a lot of work for me, in both in TNG and Reunion. Cheers, Phil
  15. I am using template 18. Utilizing my limited knowledge of java-script and what I could look up on the internet, I created a script that uses some dom-manipulation to load 19 pictures of individuals over the main image on the home page so that it would resemble a montage of photos kind of laid about. It makes each photo a link to that individuals page. Each photo is of a deceased person in the tree. By using Adobe Elements I was able to make sure each photo was of a very small byte-size to reduce the time it took to load these images. I struggled trying to decide the best place to load and run this script and decided based on what I read on various websites, that the best place was as near the closing body tag as possible. Of course on TNG pages this would be the footer. After a few attempts to create a custom footer failed because they had no effect, I discovered that I could easily plant a script there just by putting in at Admin > General Settings > Site Design and Definition > Custom Footer message. It works. My question: Is the fact that it seems to work good enough? Is this best way to add script there using a text-box that was clearly meant to add text to the footer? Incidentally, the script checks to see if this is the home page and if so, to load another script that loads the pictures. var script = document.createElement("script"); script.type = "text/javascript"; if (document.title == "Our Family History") { script.src = "templates/template18/customloadpics.js"; } document.body.appendChild(script) What is the best way to put a script like this in the footer? Thanks, James Brown https://thebrownfamilytree.info
  16. I have released version 12.0.0.0 of Template Manager, a new mod for managing (loading, saving, and unloading) template data in TNG 12. This mod supports the loading, unloading, saving, and erasing of template data to/from the TNG database. Local template configuration files, having the same format as in previous TNG releases, are used to store template data when not resident in the TNG database. Three use cases were envisioned for this mod: Installing user-defined, or TNG community developed templates, into new TNG 12 installations (something that can't be done without Template Manager unless you know a lot about the template configuration file format and SQL). Solving the TNG 12 installation problem for NearDawn and NearDark, my own templates, was a big motivator here. Preserving template configuration across TNG releases. Supporting the ability to add new parameters to, or changing parameter names, in existing TNG and 3rd-party templates. Please see the Template Manager wiki page for additional information. Bill Herndon Lindell-Herndon Genealogy
  17. I have my site password protected (via Setup >> Configuration >> General Settings>>Privacy) but it doesn't protect the PDFs that are accessed via the 'Features' section on the front page of Template 10, using TNGv9. To clarify - if I try to access any part of the site (other than the front page) without logging on, I am presented with the logon page, EXCEPT if I try and access any of the PDF's listed in the features section. Is there some way I can force a login before allowing access to these PDF's please? Thank you Sharon
  18. Hello dear community! I am still new here, however I have already been able to look at many hints. I build my website with Wordpress (AVADA) based on the principle of Cees Klostermann. What I like about TNG's pre-made template 12 is the "surname cloud (Top 100 Surnames in familiytree). I would like to install (or link) this on the homepage (site HOME) of the website with an element of the Fusuion Site Builder. I've been quite worried about that ... but I can not find a way. Is that even possible or does anyone have an idea? Or are there other alternatives of such a representation? I really do not want to use the tag cloud as a widget. An interface with adoption from the surnames of the ancestors would be my idea. Thanks in advance! Tom
  19. roakdah

    suggest tab

    suggest tab for family and people is gone. What is wrong? uses template 15. This applies to https://www.kystslekt.no
  20. wmpbrown

    How can I move "Contact Us"

    I want to move Contact Us to the empty space below. I'm using v11, template 10. Please include a screen shot of the code placement so I don't get it wrong.
  21. Hello, I'm using template 18 and want to replace the large picture on the front page. The current image is stretching from the left to the right side. I want to replace it with a picture on the left side with some text next to the right of that picture and another picture on the right side with text next to the left of it. How can I do this without breaking anything?
  22. Within a Mod cfg file, is it possible for the Target to be dynamic. I am wanting the Target to identify the particular template currently being used. So instead of: %target:templates/template16/css/mytngstyle.css% I would like something like: %target:currenttemplatepath/css/mytngstyle.css% . If possible, what code would I require.
  23. Jimatl

    Census Plus

    Hi, I am considering using Census Plus to transcribe my census. I have a couple of questions Currently I transcribe the Census into a word Document and then create a event of Census and paste the transcription into the event for example for you. This is what I transcribed SIX CENSUS OF CANADA,1921,District 51 Antigounish,EN Sub Dist,46,Larry's River polling Division,Pg5 Line1 Dwelling,28,Family,29,AVERY,Patrick R,Abode,Larrys River,Municiaplity,Guyborough,Own,8 Rooms,Wood,[HEAD},M,,Married,Age,47,Navitiy,Nova Scotia,Father,Nova Scotia,Mother Nova Scotia,Orgin,Candian,Tribe,French,Can speak English,can Speakl French,religon RCathloc,Can Read and Write,Fisherman,AVERY,Mary,Larrys River,Guysborough,[WIFE},Female,Married,40,NS,NS,NS,Nationality Canadian,Orgin French,Cannot Sp[eak french can speak english,RCathloic,AVERY,Larrys River,Larrys River,Guysborough,[SON],Male,Single,19,NS,NS,Nationality Canada,,RCathloic,Orgin French,Can speak French Can English,Cannot Read or Write,Laborer,Income,200,AVERY,Stephen,Larrys River,Larrys River,Guysborough,NS,NS,NS[SON],Male,17,Canada,French,Can speak French and English,Rcathloic,Can read and Write,Labourer,900,AVERY,Ida,Larrys River,Larrys River,Daughter,8,NS,NS,Canada,French,can speak French can speak english,RCathloic The forms that you Census Plus don't ask many questions It just require the basics. I like to add a bit more detail, I have attached a document that contains the l 35 questions they asked Is it possible to create your own template that you can add additional questions. Currently the generic sheet does not look like the 1921 Census It has the basics It would be cool if you could tweak it like the Census. Also The Library of Canada National Archives also have all their Census online it. I look up the matching Census and get the URL so they can click on the link and view it on line Here is the Link http://www.bac-lac.gc.ca/eng/census/1921/Pages/item.aspx?itemid=5459991 Any thought's Suggestions,Comments Thank You for your Help Jim 1921-questions.txt
  24. Hello, I'm sorry if there is already information on this, but I can't seem to solve this problem. I had to start fresh with tng. I installed my original version and then the upgrades. So far things are working fine except I can not make to changes to template 4 because on Template Settings I can only choose a template and save. The Folder to change images etc. does not show up for most templates. Can anyone help me with this. I'm using Wamp on my home pc. Thanks
  25. Hi, I'm looking for help with the header for my TNG site. https://gotts.one-name.net/tng/index.php using template 15, TNG 12.1 . At present the title is on the left and site image on the right. I have a wordpress blog https://gotts.one-name.net/blog/ where they are they other way round. I also have an html website with a similar fonts and colours: https://gotts.one-name.net/ I would like to make the three sites look similar, so is it possible for the TNG header to be as follows: coat of arms site image on the hard left Title in the middle or towards right Title font to be Arial 14 or 16 and definitely not Helvetica Serif! Thanks very much in anticipation.
×