A template used for designing pages that don't have separate templates in the MyCashflow theme system. The general content page is also used to replace a number of templates missing from a theme.
Kuvaus
Currently, the general content page is used for displaying all customer account pages:
- Account info
- Login and signup pages as well as the password reset page
- Order history
In the general content view, the whole content of the page is printed by using the {Content}
tag.
The general content page is also used to replace a number of templates missing from a theme. If a template can be replaced with the general content page, you will find the relevant information on the template's separate page in the
section.Primarily, you should create separate templates for all pages in your online store. In this way, you will be able to modify them later on and you will have more options while working on their design.
The general content page should be widely used only in extremely urgent projects.
Sivupohjan ominaisuudet
- Sivupohjan sijainti
- themes/shop/THEME/template.html
- Sivupohjan URL
- Useita
- Asetettu näkyvyys
Toteutus oletusteemassa
{Helper(file:'helpers/header')}
<div id="SidebarBg">
<div id="Main" class="clearfix">
{Helper(file:'helpers/sidebar-left')}
<div id="Primary" class="Column">
<div id="PageHeader">
{Path}
<h1>{PageTitle}</h1>
</div>
<div class="Content">
{Notifications(group: 'account')}
{SubInfoNavigation(
before: '
<div id="SubPageNavigation">
<h3 id="Header">{%SubPages}</h3>
',
after: '</div>'
)}
{Content}
</div>
</div>
{Helper(file:'helpers/sidebar-right')}
</div>
</div>
{Helper(file:'helpers/footer')}
In the sample image below, the general content page has been used to present one of the store's content pages.