X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Want to make exact copy of my ASP Site. (https://forum.x-cart.com/showthread.php?t=51025)

Soft-Reseller.com 11-28-2009 10:49 PM

Want to make exact copy of my ASP Site.
 
Hello

I want to make exact copy of my ASP E-Shop.

http://www.soft-vendor.com

I have currently installed v4.3 on

http://www.soft-reseller.com

Moreover I am very new in PHP somebody can guide me which software is best to edit the templates. I am using Webuilder but cant get the basic structure.

I want to add my own boxes in side columns how it is possible.

Best Regards

Kashif Rashid
+92 300 2222055
+92 313 3344555

cflsystems 11-29-2009 05:33 AM

Re: Want to make exact copy of my ASP Site.
 
You don't need to edit php files for this. You need to edit template files which are smarty (www.smarty.net). The customer side templates are located in skin1/customer. Take a look how the other boxes are made (categories.tpl for example)

Soft-Reseller.com 11-29-2009 07:38 PM

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

cflsystems 11-29-2009 07:44 PM

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

{capture name=menu}
YOUR CONTENTS HERE
{/capture}
{include file="customer/menu_dialog.tpl" title=$lng.lbl_categories content=$smarty.capture.menu}

menu_dialog.tpl tells how the menu box is structured. I don't think there is a software for this. You just have to learn smarty and xcart. It takes time but trust me it will start making sense to you ones you start


All times are GMT -8. The time now is 03:27 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.