> Main > Products and Services > Purchase > Company
English / Russian

Documentation

Design Themes Modification When Updating from CNCat 4.1.3 to CNCat 4.2

© "CN-Software" Ltd. 2002-2008
support@cn-software.com
www.cn-software.com
Previous | Table of Contents  | Next

index.tpl

Modifications:

Statistics block is added on the right below the blocks of new links and articles.

New Elements:

Apply Modifications:

Replace the following code

       {IF $CNCAT[page][show_new_items]}

       <td class="right">

           {DISPLAY NEW_ITEMS}

           {DISPLAY NEW_ARTICLES}

       </td>

       {ENDIF}

with

       {IF $CNCAT[page][show_new_items] || $CNCAT[config][show_stats]}

       <td class="right">

           {IF $CNCAT[page][show_new_items]}

               {DISPLAY NEW_ITEMS}

               {DISPLAY NEW_ARTICLES}

           {ENDIF}

           {IF $CNCAT[config][show_stats]}

               {DISPLAY STATISTICS}

           {ENDIF}

       </td>

       {ENDIF}


Previous | Table of Contents  | Next