Appelmus 0 Report post Posted February 11 Hello! How can I remove the links Home and First Name and Last Name and Search from the top line? Best greetings Share this post Link to post Share on other sites
Michel KIRSCH 0 Report post Posted February 11 1 hour ago, Appelmus said: How can I remove the links... Template15/topmenu.php : <?php global $text, $currentuser, $cms, $allow_admin, $subroot, $tmp, $homepage; $dadlabel = getTemplateMessage('t15_dadside'); $momlabel = getTemplateMessage('t15_momside'); $pagetitle = getTemplateMessage('t15_maintitle'); ?> <body id="bodytop" class="<?php echo pathinfo(basename($_SERVER['SCRIPT_NAME']), PATHINFO_FILENAME); ?> home-page content-sidebar tng-nav tng-home"> <div class="scroll-to-top"><a href="#"><img src="<?php echo $cms['tngpath']; ?>img/backtotop.png" alt="" /></a></div> <div class="site-container"> <nav class="nav-primary"> <div class="wrap"> <div class="responsive-menu-icon"></div> <ul class="menu nav-menu menu-primary responsive-menu"> <li class="first menu-item current-menu-item"><a href="<?php echo $cms['tngpath'] . $homepage; ?>"><?php echo $text['homepage'];?></a></li> <?php if($dadlabel) { ?> <li class="menu-item"><a href="<?php echo $cms['tngpath']; ?>pedigree.php?personID=<?php echo $tmp['t15_dadperson']; ?>&tree=<?php echo $tmp['t15_dadtree']; ?>"><?php echo $dadlabel; ?></a></li> <?php } if($momlabel) { ?> <li class="menu-item"><a href="<?php echo $cms['tngpath']; ?>pedigree.php?personID=<?php echo $tmp['t15_momperson']; ?>&tree=<?php echo $tmp['t15_momtree']; ?>"><?php echo $momlabel; ?></a></li> <?php } if($tmp['t15_featurelinks']) echo showLinks($tmp['t15_featurelinks'],false,"menu-item"); ?> <li class="search-menu-item"> <form id="topsearchform" name="topsearchform" method="get" action="<?php echo $cms['tngpath'];?>search.php"> <?php echo getFORM( "search", "get", "", ""); ?> <input type="hidden" value="AND" name="mybool" /> <?php echo $text['firstname']; ?>: <input size="12" name="myfirstname" type="text" id="myfirstname" /> <?php echo $text['lastname']; ?>: <input size="12" name="mylastname" type="text" id="mylastname" /> <input type="submit" value="<?php echo $text['search']; ?>"/> </form> </li> </ul> </div> </nav> The concerned lines are in bold here above in the templates/template15/topmenu.php file. Put them between <!-- and !--> (Comment signs for html) Michel Share this post Link to post Share on other sites
Michel KIRSCH 0 Report post Posted February 11 More precision?? <?php global $text, $currentuser, $cms, $allow_admin, $subroot, $tmp, $homepage; .................... <ul class="menu nav-menu menu-primary responsive-menu"><!-- <li class="first menu-item current-menu-item"><a href="<?php echo $cms['tngpath'] . $homepage; ?>"><?php echo $text['homepage'];?></a></li> !--> .............................. <!-- <li class="search-menu-item"> <form id="topsearchform" name="topsearchform" method="get" action="<?php echo $cms['tngpath'];?>search.php"> <?php echo getFORM( "search", "get", "", ""); ?> <input type="hidden" value="AND" name="mybool" /> <?php echo $text['firstname']; ?>: <input size="12" name="myfirstname" type="text" id="myfirstname" /> <?php echo $text['lastname']; ?>: <input size="12" name="mylastname" type="text" id="mylastname" /> <input type="submit" value="<?php echo $text['search']; ?>"/> </form> </li>!--> </ul> </div> </nav> Share this post Link to post Share on other sites
Appelmus 0 Report post Posted February 11 Thank you very much, Michel! I have found the template 15/topmenu.php. I will try the changes on a test page tomorrow. In the top link bar should be historical background information or something like that. I don't know exactly yet. I can jump with the links to another web page, how I can get to pages in the histories, I don't know. But maybe later. Best greetings 🍏 Share this post Link to post Share on other sites
Appelmus 0 Report post Posted February 16 Am 11.2.2021 um 20:18 schrieb Michel KIRSCH: More precision?? Hello Michel! It works. Thank you very much! Share this post Link to post Share on other sites
Michel KIRSCH 0 Report post Posted February 16 De nada ! Michel Share this post Link to post Share on other sites