если вы хотите, чтобы в магазине выделялись
активные разделы верхнего меню, вам надо добавить код проверки. в файле index.tpl.html вместо кода
<a href="{$smarty.const.CONF_FULL_SHOP_URL}">Главная</a>
<a href="{if $smarty.const.CONF_MOD_REWRITE eq 1}category_1.html{else}index.php?categoryID=1{/if}">Каталог</a>
<a href="{if $smarty.const.CONF_MOD_REWRITE eq 1}news.html{else}index.php?news=yes{/if}">Новости</a>
<a href="{if $smarty.const.CONF_MOD_REWRITE eq 1}price.html{else}index.php?show_price=yes{/if}">Прайс-лист</a>
<a href="{if $smarty.const.CONF_MOD_REWRITE eq 1}page_1.html{else}index.php?show_aux_page=1{/if}">О магазине</a>
<a href="index.php?links_exchange=yes">Cсылки</a>
<a href="{if $smarty.const.CONF_OPEN_SHOPPING_CART_IN_NEW_WINDOW eq 1}javascript:open_window('index.php?do=cart',500,300);{else}{if $smarty.const.CONF_MOD_REWRITE eq 1}cart.html{else}index.php?shopping_cart=yes{/if}{/if}">Корзина</a>
<a href="{if $smarty.const.CONF_MOD_REWRITE eq 1}feedback.html{else}index.php?feedback=yes{/if}">Контакты</a>
пишем
<a href="{$smarty.const.CONF_FULL_SHOP_URL}" {if $main_content_template eq "home.tpl.html"}class="active"{/if}>Главная</a>
<a href="{if $smarty.const.CONF_MOD_REWRITE eq 1}category_1.html{else}index.php?categoryID=1{/if}" {if $main_content_template eq "category.tpl.html"}class="active"{/if}>Каталог</a>
<a href="{if $smarty.const.CONF_MOD_REWRITE eq 1}news.html{else}index.php?news=yes{/if}" {if $main_content_template eq "show_news.tpl.html"}class="activelink"{/if}>Новости</a>
<a href="{if $smarty.const.CONF_MOD_REWRITE eq 1}price.html{else}index.php?show_price=yes{/if}" {if $main_content_template eq "pricelist.tpl.html"}class="active"{/if}>Прайс-лист</a>
<a href="{if $smarty.const.CONF_MOD_REWRITE eq 1}page_1.html{else}index.php?show_aux_page=1{/if}" {if ($smarty.server.QUERY_STRING) == "show_aux_page=1"}class="active"{/if}>О магазине</a>
<a href="index.php?links_exchange=yes" {if $main_content_template eq "links_exchange.tpl.html"}class="active"{/if}>Cсылки</a>
<a href="{if $smarty.const.CONF_OPEN_SHOPPING_CART_IN_NEW_WINDOW eq 1}javascript:open_window('index.php?do=cart',500,300);{else}{if $smarty.const.CONF_MOD_REWRITE eq 1}cart.html{else}index.php?shopping_cart=yes{/if}{/if}" {if $main_content_template eq "shopping_cart.tpl.html"}class="active"{/if}>Корзина</a>
<a href="{if $smarty.const.CONF_MOD_REWRITE eq 1}feedback.html{else}index.php?feedback=yes{/if}" {if $main_content_template eq "feedback.tpl.html"}class="active"{/if}>Контакты</a>
. кстати, не забываем в style.css добавить класс active. посмотреть можно тут
http://ac.lg.ua. пользуемся и не забываем говорить спасибо.
Спасибо алфавиту за любезно предоставленные буквы! Во время написания ни одна буква не пострадала.