Re: Adding to the side columns
I removed an extra </div> from skin1/modules /yoursecurity.tpl.
At the same time I inserted the {literal} immediately after {capture name=menu}
And {/literal} just prior to {/capture}
The authentication menu is now visible but not News Menu
Next I eliminated all menus except for News. News did not appear. Accordingly, either there is an on/off switch inside X-Cart or there is a problem with news.tpl. (I hope) I have never modified the news.tpl file, it should work.
if $active_modules.News_Management}
{insert name="gate" func="news_exist" assign="is_news_exist" lngcode=$shop_language}
{if $is_news_exist}
{capture name=menu}
<div class="news item">
{include file="today_news.tpl"}
</div>
{insert name="gate" func="news_subscription_allowed" assign="is_subscription_allowed" lngcode=$shop_language}
{if $is_subscription_allowed}
<div class="subscribe item">
<form action="news.php" name="subscribeform" method="post">
<input type="hidden" name="subscribe_lng" value="{$store_language|escape}" />
{$lng.lbl_your_email}<br />
<input type="text" name="newsemail" size="16" /><br />
{if $active_modules.Image_Verification && $show_antibot.on_news_panel eq 'Y'}
{include file="modules/Image_Verification/spambot_arrest.tpl" mode="simple_column" id=$antibot_sections.on_news_panel}
{/if}
<div class="button-row center">
{include file="customer/buttons/subscribe_menu.tpl" style="button" type="input" additional_button_class="menu-button"}
</div>
</form>
</div>
{/if}
{/capture}
{include file="customer/menu_dialog.tpl" title=$lng.lbl_news content=$smarty.capture.menu additional_class="menu-news"}
{/if}
{/if}
Chris
|