Table of Contents

How do I add static content pages to osCMax?

Source: oscmax.com - Thanks to michael_s

There are four main steps to adding your own custom static content pages to osCMax. Follow the tutorial below to create a static page.

Step 1: Copy shipping.php

Step 2: Edit your new page

There are two instances of FILENAME_TESTPAGE and one instance of CONTENT_TESTPAGE and one instance of $content_template

Step 3: Register the new filename

         define('CONTENT_TESTPAGE', 'testpage');
         define('FILENAME_TESTPAGE', 'testpage.php');

Alternatively the definition format could look like this define('FILENAME_TESTPAGE', TESTPAGE . '.php'); either method is OK.

Step 4: Create the new language file

         define('NAVBAR_TITLE', 'New Created Static Page');
         define('HEADING_TITLE', 'New Created Static Page');
         define('TEXT_INFORMATION', 'This page tells you how to add a new static page
  to OSCMAX using the Template Structure.');


Finished!

                               http://yourcatalog.com/catalog/testpage.php