How to create a page

sultime3732

New Member
YetiShare User
Wurlie User
Mar 13, 2014
47
0
0
52
France
Hello,

I want to know how to create a page to add a faq or so of tuturiels I'll create.

Thank you in advance
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Use the following as a template and edit the sections marked.

Save it as faq.php

Code:
<?php
/* setup includes */
require_once('includes/master.inc.php');

/* setup page - EDIT THIS */
define("PAGE_NAME", t("contact_page_name"));
define("PAGE_DESCRIPTION", t("contact_meta_description"));
define("PAGE_KEYWORDS", t("contact_meta_keywords"));

/* header section */
require_once('_header.php');

/* title section - EDIT THIS */
echo htmlHelpers::createPageTitleHTML("Contact us");
?>
<div class='pageMainContent'>
    <!-- PAGE CONTENT GOES BELOW HERE -->


	<!-- Your Content goes here -->


    <!-- PAGE CONTENT GOES ABOVE HERE -->
</div>
<?php
require_once('_footer.php');
?>