Manage New Pages

Overview
Easily lets you add additional pages to your store. Additional page links appear in the left hand menu. You may also simply specify an external website address.
Creating New Page
Fill in the options provided to create your new page. Meta keywords and descriptions are for search engine purposes. The 'Text to Display' is the text that appears on your page. Use BB Code for formatting, HTML is not allowed.

Pages can easily be disabled/enabled via the last option.

If you wish to have a simple external link, the value of the 'Text to Display' box would be a url starting http://.

Note: For bigger textarea, click the crosshair, top right, in the textarea box.
Load Custom Template File
If you prefer, you can load a custom template file. If this option is utilised any data entered in the textarea will not be rendered. This feature can be useful if you want to create your own .php page and add your own PHP code.

To add a custom template do the following:

1 Create a new file and add it to the 'content/*theme*/customTemplates/' directory. Files MUST have a .tpl.php extension.

2 On the 'System > Manage New Pages' page in admin, specify this template at the load template for a new or existing page. This will load instead of the default system template.

3 Add any code you need to your new template file.

See also the'content/*theme*/customTemplates/README.txt' file.
External Link
An external link simply points to another web page outside of the store. For this to function, set this to YES and enter a url starting http:// in the text box.
Link Target
When an external link is opened, should this open the link in the same window/tab or a new window/tab? Note that some browser settings may cause this to default to a certain option.
Link Placement
Links can appear in 3 places. Left Menu, Footer Left or Footer Middle. You can of course edit the templates and place the links anywhere, but this is for advanced users only.
Set as Landing Page
Do you want this page to be set as the new landing page? If yes, when a visitor clicks to go to the store homepage, this page displays instead.

Only one page can be set as the landing page, so if a previous page was set, this will be unset. Leave as "no" to load default store homepage. You can set different landing pages for standard pages and pages for trade accounts.

Ignored if page is set as an external link. Note than landing pages won`t be shown as links in the left hand or footer menu.
Show/Hide Left Column
Do you wish to hide the left hand column when this page displays? Note that if you choose to have the link in the left hand menu only and choose to hide the left column, the link will NOT be visible.

Custom templates can load a custom left menu or use the system menu. See notes in the custom template example files for this option when using custom templates.
Rewrite URL Slug
A slug is the part of a URL which identifies a page using human-readable keywords. For example if you have a page called "About Us", your slug may be "about" or "about-us" etc. The system will attempt to create this for you when you enter your page name. The auto suggestion can be de-activated, see the F.A.Q.

ONLY applicable if search engine friendly urls are ON in the settings. Slugs can ONLY contain alphanumeric characters, hyphens and underscores.
Display ONLY for Trade Accounts
Only applicable if you have trade accounts. If set, page is only viewable and applicable to trade account logins. Note that landing pages won`t be seen until the trade account is logged in.
Enable Page
Enable/Disable page.
Drag and Drop to Order
To set the order of the display links, drag and drop the rows after creating pages. A move icon appears if you hover your cursor over the rows. Simply drag and drop to re-order.
Auto Line Breaks
By default carriage returns in the text box will be auto converted to HTML line breaks (<br>). If you prefer not to have this option as default, edit the following file:

control/defined.php
Update the following:

define('AUTO_PARSE_LINE_BREAKS', 0);