View Single Post
  #3  
Old 11-29-2009, 07:38 PM
  Soft-Reseller.com's Avatar 
Soft-Reseller.com Soft-Reseller.com is offline
 

Advanced Member
  
Join Date: Jul 2009
Posts: 68
 

Default Re: Want to make exact copy of my ASP Site.

Hello cflsystems

Thank you for your reply. I opened categories.tpl and found following

{*
$Id: categories.tpl,v 1.35 2009/05/12 07:37:15 max Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
========Comments========
The above code shows the id but second line vim???
i didnt get that.
========Comments========
{capture name=menu}
========Comments========
I think this capture command makes the box.
========Comments========
{if $active_modules.Flyout_Menus}
{include file="modules/Flyout_Menus/categories.tpl"}
{assign var="additional_class" value="menu-fancy-categories-list"}
{else}
<ul>
{foreach from=$categories_menu_list item=c name=categories}
<li{interline name=categories}><a href="home.php?cat={$c.categoryid}" title="{$c.category|escape}">{$c.category}</a></li>
{/foreach}
</ul>
{assign var="additional_class" value="menu-categories-list"}
{/if}
{/capture}
{include file="customer/menu_dialog.tpl" title=$lng.lbl_categories content=$smarty.capture.menu}


In ASP we usually use tables and in complex situations i put borders which gives me idea that which cell i have to work and how it is working but in smarty i am not getting what the syntax are doing.

in one tpl file is a call for another tpl file which makes editing most complex is there any software which can gives basic stucture so we can work on exact file needed to be changed.

Best Regards

Kashif Rashid
+92 300 2222055
+92 313 3344555
Reply With Quote