Announcement

Collapse
No announcement yet.

How can I set my page titles for non section/product pages?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How can I set my page titles for non section/product pages?

    You can use conditions in your overall layout to specify what to appear in the title bar for different page types. The following gives examples for you to use:

    <title>
    <!-- Brochure Pages -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Brochure%27" ><actinic:variable name="PageTitle" /> @ <actinic:variable name="CompanyName" /></actinic:block>
    <!-- Checkout - Select Shipping Destination Page -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Checkout%20Page%200%27" >Checkout Step 1 @ <actinic:variable name="CompanyName" /></actinic:block>
    <!-- Checkout - Invoice Address Page -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Checkout%20Page%201%27" >Checkout Step 2 @ <actinic:variable name="CompanyName" /></actinic:block>
    <!-- Checkout - Delivery Address/Payment Method Page -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Checkout%20Page%202%27" >Checkout Step 3 @ <actinic:variable name="CompanyName" /></actinic:block>
    <!-- View Cart Page -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Shopping%20Cart%27" >Your Shopping Basket with <actinic:variable name="CompanyName" /></actinic:block>
    <!-- Add to Cart Confirmation Page -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Add%20To%20Cart%20Confirmation%27" >Selection Added to Basket</actinic:block>
    <!-- Online Receipt Page -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Receipt%27" >Your Receipt from <actinic:variable name="CompanyName" /></actinic:block>
    <!-- Advanced Search Page -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Search%27" >Search our Site @ <actinic:variable name="CompanyName" /></actinic:block>
    <!-- Search Results Page -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Search%20Results%27" >Your Search Results with <actinic:variable name="CompanyName" /></actinic:block>
    <!-- Bounce Pages -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Bounce%20Page%27" >Forwarding you to the next page...</actinic:block>
    <!-- Sitemap -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Site%20Map%27" > Sitemap @ <actinic:variable name="CompanyName" /></actinic:block>
    <!-- Terms & Conditions -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Terms%20And%20Conditions%27" > Help @ <actinic:variable name="CompanyName" /></actinic:block>
    <!-- Section Pages -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Section%27">
    <!-- Product Pages -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3e%200">
    <actinic:variable name="PageTitle" /> @ <actinic:variable name="CompanyName" />
    </actinic:block>
    <!-- Online Catalogue Page -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3d%3d%200" >
    Store Front
    </actinic:block>
    </actinic:block>
    </title>
Working...
X