Jump to content
TNG Community

Search the Community

Showing results for tags 'template'.

  • 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
    • Requests for New Mods
  • Community
    • Member Webpages
    • Genealogy
    • Chit Chat
    • Questions and Answers
    • Offers And Requests

Calendars

  • Community Calendar

Categories

  • Feedback on THIS Forum

Blogs

  • Community News
  • TNG News

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

  1. Hi there. I'm creating/copying a new template based on template21. I named it template 31. The saving, loading and copying all went well. but with the new template31, the (edit profile: username) is out of the nav menu bar as shown in the screenshot. Anyone got any ideas how to fix this?
  2. Hello all! First, the only reason the Feature Links in admin -> setup -> template settings -> template19 isn't working is because it's missing some css, that's all. ok, I got it working as in the screenshot BUT I want it to be horizontal and above the header brand and and slogan. This is all on my localhost testing machine, so I've incuded a screenshot and the code from topmenu.php If anyone can point me in the right direction, that would be great. <header> <div class="container"> <section class="logo"> <p class="brand"><img class="img-left" src="<?php echo $cms['tngpath'] . $templatepath . $tmp['t119_headimg']; ?>" alt="" /><a href="<?php echo $cms['tngpath'] . $homepage; ?>"><?php echo $pagetitle; ?></a></p> <p class="slogan"><?php echo getTemplateMessage('t119_headsubtitle'); ?></p> </section> <!-- start the address container and feature links --> <section class="address"> <ul class="list8"> <?php if($tmp['t119_featurelinks']) echo showLinks($tmp['t119_featurelinks'],false); ?> </ul> </section> <!-- end the address container and feature links -->
  3. I've just noticed that I have an error log in template21, been going on for a while. Here's what it says: [27-Jan-2023 14:29:40 America/Chicago] PHP Notice: Undefined variable: cms in /home/joneshy1/public_html/templates/template21/index.php on line 2 [27-Jan-2023 14:29:40 America/Chicago] PHP Notice: Trying to access array offset on value of type null in /home/joneshy1/public_html/templates/template21/index.php on line 2 [27-Jan-2023 14:29:40 America/Chicago] PHP Warning: include(surname_cloud.class.php): failed to open stream: No such file or directory in /home/joneshy1/public_html/templates/template21/index.php on line 2 [27-Jan-2023 14:29:40 America/Chicago] PHP Warning: include(): Failed opening 'surname_cloud.class.php' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') in /home/joneshy1/public_html/templates/template21/index.php on line 2 [27-Jan-2023 14:29:40 America/Chicago] PHP Fatal error: Uncaught Error: Call to undefined function tng_header() in /home/joneshy1/public_html/templates/template21/index.php:9 Stack trace: #0 {main} thrown in /home/joneshy1/public_html/templates/template21/index.php on line 9 I know surname_cloud.class.php is in the root folder, but in index.php : include($cms['tngpath'] . "surname_cloud.class.php"); it looks like it's (to me maybe I'm wrong) it's looking for it in the template folder. So, Am I wrong or what's the deal?
  4. I've successfully upgraded to TNG v14. I have been using Template 8 for many years but would like to change to a new Template. In the Admin/Setup/Template Settings, is one supposed to be able to view the other Templates in a preview setting? When I click show previews next to my Template 8, I can see a preview of Template 8. But if I select a different Template it only shows the Template numbers and not a photo preview. If I click the Template number 12 for example, it shows no photo but does show the fill-in boxes for Template 12. Am I missing something here? Are photo previews of the Templates not available or do I need to make an adjustment in settings.
  5. No TNG 14 Tag... I can not select templates 16-21. Allen
  6. Hello and Happy Holidays to you all. I know it's the holiday season and everyone is busy with it and other life issues, so I'll be patiently waiting for a response (I hope). I'm changing colors to template21 in mytngstyle.css (for the umpteenth time trying to get it to work correctly). Everything was going according to plan until I added three of the postcard elements to mytngstyle. /*-----Postcards-----*/ .postcard .caption {padding: 11px 15px 33px 12px; overflow: hidden; position: relative; background: #436070 linear-gradient(#7095a9, #436070); transition: all 0.25s; margin-top:-4px;} .postcard:hover .thumbnail .caption {transition: all 0.25s; background: #436070;} .postcard .thumbnail .caption a:hover {color: #7095a9;} The colors will not change. Made sure everything is correct, cleared cache etc., but to no avail. Also it does not change in Firefox inspection tool or the other browsers inspection tools. Another set of eyes and brains would be appreciated
  7. Rob Severijns

    Ancestor view corrupted

    Hello everyone, When I select a person and go to the ancestors (vertical chart) there is code visible. Showing the maximum of generations available for that perons reveals a normal picture. (code disappears) Anyone else experiencing this?
  8. kozman

    multiple photos on splash screen

    I am using template 13. I have placed one photo on the main screen. Can I add more photos one at a time? Do I have to edit my three photos into one? I was hoping to insert one at a time but cannot find out how to do it.
  9. Hi all. In template21 admin - template settings - feature thumbnail 4: I've add this instead of just the image: <a href="getperson.php?peronID=I8&tree=tree1"; <img src="http://localhost/tng/templates/template121/img/Helen1943_4x3.jpg" style="width: 400px; height:300px" title="Helen Mary Zikorus posing in 1943, age 20" alt="Helen Mary Zikorus"></a> What I'm trying to do is when you mouse over the image the image title and alt pop up AND then be able to click on the image and go to the persons page. Am I on the right track with the code above? Right now I can't get it to work. I've been testing this on my localhost, but will add it to the live site so you can see what the deal is. What's happening with this code is a Not Found error. I've tried different paths, but the image can't be found. If I use just the img/Helen1943_4x3.jpg image is viewable but no popup or clickable. Any suggestions, thoughts or advise will be greatly appreciated. I'm going to look at templateconfig.php and see if you can add that code in there.....after lunch!
  10. Hello. I'm changing colors of template21 ( I hate that red) as per https://tng.lythgoes.net/wiki/index.php/Overriding_Colors_in_a_Template. All the changes are going in /template21/css/mytngstyle.css. Everything was going great except for the .btn-detail and .postcard .caption. I changed the linear-gradient colors, but it's not changing on the site (my localhost). Looking at the page inspector it still shows as the original colors. Unless I'm doing something wrong or missing something here, could someone please offer some advise? EDIT: Yes I've cleared the cache and tried other browsers. OK I wasn't paying attention to detail. found the colors I need to change.
  11. Holly Cochran

    Understanding templates: the basics

    I am upgrading a site from version 7 to 13.1.2. The site is so old, it either didn't use templates or used a default template, and I haven't used TNG much for about 3 years, so I've forgotten how templates work. The old site has a home page, index.php, in the root directory, to which I had originally added some links to specific tree branches. I want to now use template 15, or just about any other template, but I don't understand the interaction between the home page and the template. Am I supposed to modify index.php in the template folder and then copy it to the root directory? Or eliminate index.php from the root directory and it will somehow be found in the appropriate templates folder? I did tell the Configurator which template to use. Do I modify topmenu.php and footer.php in the template folder? Do I copy them to the root dir? Thanks for any help on this - I'm sure I'm just missing some really basic bit of information! Holly
  12. Hello all, once again I ask for your help. I use the template 220 from Marsha. The integration went without problems, only now I would like to change the background on the main page and do not find the necessary setting. Can someone please tell me where to change it ? Many thanks in advance. Many greetings Hubert
  13. Hi everyone. I've created a new template from template21 named template 31 (on localhost). That works fine. It successfully added to the database. BUT, why doesn't it show up in phpmyadmin under tng_tables?
  14. ok, I'm working on another project on my localhost. Fresh full install (today) tng v3.1.2 , so it's the latest version of randomphoto.php. This is a stand alone tng install, no wordpress. On my live site is standalone tng v3.1.2 UPGRADE (sometime back in july) and randomphoto works fine there. Using the template manager mod, I created a new template from template21 and naming it template31. Everything on that part of this project works fine. EXCEPT the randomphoto.php code. It doesn't work in t21 or the new t31. I've read all the threads concerning this issue and no help there. Can someone please explain what's going on here? And maybe some suggestions how to get it working. Localhost page source and f12 inspection: <!-- Random Photo Starts Here --> <!-- If you don't want to have a random photo displayed, just remove this section down to 'RANDOM PHOTO CODE ENDS HERE' --> <!-- Random Photo Ends Here --> t21 and t31 index.php: <!-- Random Photo Starts Here --> <!-- If you don't want to have a random photo displayed, just remove this section down to 'RANDOM PHOTO CODE ENDS HERE' --> <?php $rp_maxwidth = "90%"; include("randomphoto.php"); ?> <!-- Random Photo Ends Here -->
  15. Good morning all. On this other project I'm working on, using template21, I have added a background image to the container that holds the nivo slide show and Welcome Message. However, I would like to have that background image stretch full width, out of the container, just the image mind you. Here's a couple of shots to show you what I mean, as this is on my localhost. I'd like to simulate GWT's template221 > https://genealogywebtemplates.com/tng/demoframes-public.html this the css i have for it right now /* Background image behind slider and Welcome Message */ .bgbox { background-repeat: repeat; background-image: url('../img/lithuania.jpg'); background-size: 100% auto; margin-top: -10px; margin-bottom: 10px; border-bottom: 4px solid #86a7ba; box-shadow: 0 15px 20px -15px rgba(0, 0, 0, 0.4); } I have this at the end of topmenu.php: <div class="container"> <div class="bgbox"> The div is closed in the right spot (I think) in index.php.
  16. John Paul

    SOLVED - Another pedigree issue

    Hey guys and gals My project is creating a new website using the latest WordPress and TNG via the Kloosterman method on wampserver64 localhost (for now). Having problems with the cell contents of pedigree, descend and familychart.php Attached is a couple of screenshots. Any help in the right direction to fix it will be greatly appreciated.
  17. John Paul

    WP themes

    Just out of curiosity, which themes do you WP guys use? Thanks
  18. 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
  19. I am using template 13 in German. Alternative language 'English' works well apart from "Feature Links", where I want to lead users to an English version of a website. The link still leads to the German version even if the language "English" has been chosen before. Could it be that it doesn't accept additions to the national domain. To get to the English version the ".de" address is followed by "/eng.php". This is not active in the English version of the template. Thanks. Mac
  20. When I upgraded my hosted site to 13.1.2, everything is perfect. When I did a new install on my new Dell pc, I get this in the screenshot. anyone see or run into this from other users? Thanks
  21. Krisamd

    SITE SETUP

    I am using TNG version 13 I have my own template 30 Setup/configuration/template Settings Folder: templates/template30 Wamp64/www/TNG13/templates/teplate30/templateconfig.php This override Wamp64/www/TNG13/ templateconfig.php MySQL 5.7.14 charifamily/TNG_templates If I edit the setup in Administration, the edit does not change either in templateconfig.php or mysql/table Are there any issues coordination among these three related tables Thanks Kris
  22. Hey y'all. I'm trying to add a feature link in template 19 template setup using this format: Family Stories, localhost/tng/extrapages/family_stories.php Also tried: Family Stories, extrapages/family_stories.php and http:/localhost/tng/extrapages/family_stories.php BUT the menu item does not show on the main page. What am I doing wrong? I've done this before and it worked, so I must be doing something wrong....Thanks John Paul
  23. John Paul

    Histories or extrapages?

    Hey y'all. On my side, I blew up my local tng install trying to do some stuff and couldn't recover from it...(no backup… I know, I know….) so I just deleted it all and am starting over. Now my question is do I use the histories for my stories, places, doc, etc. instead of using the extrapages like I have been? I downloaded the free history templates from Genealogy Web Templates but haven’t checked them out yet. Would appreciate your input on the subject. Thanks, JP
  24. Good Morning TNGer's. The question I have is : can you use customconfig.php for more that one dropdown menu? Although I am currently making my first attempt at creating a mod for this, I was wondering about using customconfig.php or editing topmenu.php. but like i said I'm attempting a mod for this purpose. I was just wondering about the other 2 options out of curiosity. Thanks
  25. Hello all. I realize that messing around with genlib.php can get you in some deep trouble, but.... TNG v13.1.1 template 19 - In genlib.php, line 973, there's the 'hook for custom dropdown options' and below that is 'Rick Bisbee's mod' for creating a dropdown. Does anyone know how to utilize those 2 options, or add another dropdown after the INFO dropdown (line 966 of genlib.php). I'm already using customconfig and the 2 cust_text file for a dropdown. This would be one more dropdown called Family Stories with submenus . Any advice, suggestions or criticism will be appreciated. Thanks JP
×
×
  • Create New...