Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Want to make exact copy of my ASP Site.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-28-2009, 10:49 PM
  Soft-Reseller.com's Avatar 
Soft-Reseller.com Soft-Reseller.com is offline
 

Advanced Member
  
Join Date: Jul 2009
Posts: 68
 

Default 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
Reply With Quote
  #2  
Old 11-29-2009, 05:33 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default 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)
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #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
  #4  
Old 11-29-2009, 07:44 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:09 PM.

   

 
X-Cart forums © 2001-2020