// The following $flags can be passed on the feature story pages. The $flags can either be // true or false $flags['noheader'] = false; // set to true to not include the template Custom Header // set to false to include the template Custom Header - normally topmenu.php $flags['nobody'] = true; // set to not generate the <body> tag if the tag is in the topmenu.php // set to false to generate the <body> tag $flags['noicons'] = false; // set to true to not generate the TNG menu bar // set to false to generates the TNG menu bar // for multi-language pages, you can use $text variables for your Feature Story Title tng_header("Your Feature 1 Story Title", $flags); ?> <h1>Feature 1 Story</h1> <p> Your Feature 1 story goes here. You can use HTML tags within the body of the story. You can also use PHP code by inserting the code within a < ? php ? > section (note that blanks were inserted in between the php starting and ending characters so the php start and end tags would display on the page. </p> <p> If you are creating a story that you want to translate and display in the language the user has selected to view your site, then you can place the content that starts with the heading 1 (< h1 >) line to everything in the line before the tng_footer.php function call in your language folder and use a PHP </p> include($mylanguage/feature1.php) to include the content from you language folder for each language you support on your site. <br /> For additional information see the TNG Wiki article on creating User Pages or histories using the historytemplate.php file at http://tng.lythgoes.net/wiki/index.php?title=User_Pages_-_Getting_Started and http://tng.lythgoes.net/wiki/index.php?title=User_Pages_-_Multi-Language </p> <p> This feature1.php file was created from the historytemplate.php and saved in the histories folder as an example of how to create such a file. </p> <?php tng_footer("");
<!-- begin footer --> <?php global $text, $tng_version; ?> </td></tr> <tr> <td colspan="2" class="footer"> <?php $flags['basicfooter'] = true; echo tng_footer($flags); ?> </td> </tr> </table> <!-- end footer -->
?> <?php //end RESOURCES PARAGRAPH ?> <div class="normal"> <?php //begin RESOURCE LINKS (whatever you want) //Configurable from Template Settings. You can also replace the t6_reslinks PHP block below with the desired text if you prefer that to using the Template Settings. //Example: <a href="http://lythgoes.net/genealogy/software.php" target="_blank">TNG Software</a><br/> ?> <?php echo $tmp['t6_reslinks']; ?> <?php //end RESOURCE LINKS ?> </div> </td> </tr> </table> <?php echo tng_footer('');