Difference between revisions of "How to Make a New Page"

From Phoenix Cart User Guide
Line 7: Line 7:
 
This is easily achieved by making a '''clone''' of an existing information page.
 
This is easily achieved by making a '''clone''' of an existing information page.
  
Each page has its own language file so a clone is made of both.
+
Each page has a main file and a language file so a clone is made of both.
  
 
In this example a new information page is made by cloning the existing '''privacy.php''' information page.
 
In this example a new information page is made by cloning the existing '''privacy.php''' information page.

Revision as of 16:13, 27 November 2019

<historylink type="back">🠈 Back</historylink> 🠉 FAQS TIPS & TRICKS


It is a common requirement for shop owners to want additional information pages specific to their shop e.g. pages relating to products or services.

This is easily achieved by making a clone of an existing information page.

Each page has a main file and a language file so a clone is made of both.

In this example a new information page is made by cloning the existing privacy.php information page.

  • On your local computer, find and open the downloaded and unzipped (extracted) CE Phoenix folder or download and unzip a new one.
  • Find the privacy file.
  • Open the file in a file editor to see this:

Vscprivacy.png

  • There are only 2 references to the file name privacy - shown in the example on lines 15 and 17.
  • Change both instances of privacy to the new file name - information is used here just as an example.
  • In the file editor menu, go to and click File → Save as...
  • Enter the new file name (information) and click Save


  • Now back in the downloaded and unzipped (extracted) CE Phoenix folder, go to includes → languages → english
  • Find the privacy file.
  • Open the file in a file editor to see this:

Vscprivacylang.png

  • Copy and paste the following code before the first language define - line 12 in the example.
  • Change the text to your requirements.
  • This will help the search engines to find the new page.
// seo
define('META_SEO_TITLE', 'Information Page Title');
define('META_SEO_DESCRIPTION', 'Information page description of about 30 words');
define('META_SEO_KEYWORDS', 'Information page, search terms, comma separated');
  • Change the 2 instances of Privacy Notice to the new page name e.g. Information
  • Change Put here your Privacy Notice information. to whatever is required to show in the new page contents.
  • In the file editor menu, go to and click File → Save as...
  • The popup navigation window should open in includes/languages/english but ensure the file is saved in that location.
  • Enter the new file name (information) and click Save

  • Using FTP software, upload the new files to the host server - ensure they are uploaded to the correct locations.

Construction.png
This page is in progress
Please visit again soon for additions and changes

Phoenix Cart User Guide, like CE Phoenix Cart, is free to use but is maintained by unpaid volunteers.

Code references are licensed under a Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales License.
All other content is the reserved Intellectual Property and Copyright of phoenixcart.org