ton van lil Posted Tuesday at 07:10 PM Report Share Posted Tuesday at 07:10 PM I made a new tab on my website. Beside Individual I made a tab Biography. Clicking this tab show a biography of the person that is selected. I changed genlib.php by putting two lines in. $historie_auto_url = getURL( "history_auto", 1 ); and $choices .= doMenuItem( $nexttab++, $historie_auto_url . "personID=$entityID&tree=$tree" , "ind", $text['Biografie'], $currpage, "Biography" );. This makes the tab. I have also written History_auto.php that finds the history (biography) of the person. This all works well. But. The layout (read other tabs) disappear. See pictures below. Where am I going wrong. Greetings Ton van Lil Quote Link to comment Share on other sites More sharing options...
GOGGS Posted Tuesday at 07:49 PM Report Share Posted Tuesday at 07:49 PM You probably need the include for tng_begin.php in your History_auto.php file... GOGGS Quote Link to comment Share on other sites More sharing options...
ton van lil Posted Tuesday at 10:42 PM Author Report Share Posted Tuesday at 10:42 PM Thanks Goggs. I did include tng_begin.php in my php. It must be something else. Greetings Ton Quote Link to comment Share on other sites More sharing options...
Leif Sweden Posted Thursday at 01:49 PM Report Share Posted Thursday at 01:49 PM I see that you also added Parential Lines between Ancestors and Descendants, is that working fine? Unfortunately I have no idea about your Biografy problem. Leif Quote Link to comment Share on other sites More sharing options...
ton van lil Posted Thursday at 02:59 PM Author Report Share Posted Thursday at 02:59 PM Leif, The tabs can be placed where ever you want. They all work fine. Only the tab I made myself disappears when I start my historie_auto.php. Greetings Ton Quote Link to comment Share on other sites More sharing options...
ton van lil Posted Saturday at 07:27 PM Author Report Share Posted Saturday at 07:27 PM Getting the tab was easy. I changed genlib.php by putting two lines in. $historie_auto_url = getURL( "history_auto", 1 ); and $choices .= doMenuItem( $nexttab++, $historie_auto_url . "personID=$entityID&tree=$tree" , "ind", $text['Biografie'], $currpage, "Biography" );. The tab works well. Opens my the php History_auto.php. It keeps the style but I cannot make it to keep the tabs. Greetings Ton Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.