Displaying Screen Description

The value of the Description parameter of a screen is not displayed in an online store by default.

If you need to display some instruction or description for a screen you need to customize a layout template that defines navigation path layout. The navigation path layout is defined with the path.tpl or the path_level.tpl templates. The PATH_STYLE general parameter defines what template is used currently.

To make a screen description to be displayed on respective step:

  1. Find template that defines the navigation path layout.
  2. Open the template for editing. If the template is not available in the Layout Templates list, add it using the Add Standard Layout or Add New Layout Template buttons.
  3. Add the following code to the template:

    {foreach item=item from=$path} 
    {if $item.class == "currentStep"} 
    {assign var=screen_index value=$item.screen} 
    {$CONFIG_INI.SCREEN.$screen_index.DESCRIPTION.$current_language} 
    {/if} 
    {/foreach} 

    The code may be added either before or after <table>... </table> tag, in this case name and description are to be displayed either above or under the navigation path.

  4. Save changes and synchronize online store.