CubeCartForums.org Documentation Area

CubeCartForums.org for CubeCart third-party documentation, modifications, skins and services
Permanent Link   Print This Page
Introduction CubeCart v3 CubeCart v4 Appendix Search

CubeCart Version 4 Documentation - categories.tpl

Google Translate:

categories.tpl

Description

Primarily the main store navigation, as pictured below. By default, it only displays the top level categories, the homepage, and sale items if the store is in sale mode.

Template file location

/skins/YOUR_SKIN/styleTemplates/boxes/categories.tpl

Control file location

/includes/boxes/categories.inc.php

Classic skin template output screenshot


Basic template structure

<!-- BEGIN: categories -->

<!-- BEGIN: a -->
     <!-- BEGIN: ul_start -->
              Opening UL
     <!-- END: ul_start -->
     <!-- BEGIN: li_start -->
              Opening LI
     <!-- END: li_start -->
              Repeating Category links
     <!-- BEGIN: li_end -->
              Closing LI
     <!-- END: li_end -->
     <!-- BEGIN: ul_end -->
              Closing UL
    <!-- END: ul_end -->
<!-- END: a -->

<!-- BEGIN: gift_certificates -->
          Gift Certificate link
<!-- END: gift_certificates -->

<!-- BEGIN: sale -->
          Sale Items link
<!-- END: sale -->

<!-- END: categories -->




Comments, Feedback, Suggestions and Documentation Submissions please post in the Documentation Chat Forum.