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

How can I change the content box

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-02-2004, 01:24 PM
 
elabdesigns elabdesigns is offline
 

Advanced Member
  
Join Date: May 2003
Location: Mount Airy, NC
Posts: 66
 

Default How can I change the content box

One the customer side/store front what file is the content box stored in?

I want to change the way it looks, see the sample link below:
http://www.pariscape.com/window.gif

How can I do the above? I want to remove the background image and table border on all pages. Categories, pages, etc..

Thanks
Reply With Quote
  #2  
Old 11-02-2004, 03:30 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

edit dialog.tpl

this kind of stuff is covered in the manual & faq
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 11-02-2004, 05:53 PM
 
elabdesigns elabdesigns is offline
 

Advanced Member
  
Join Date: May 2003
Location: Mount Airy, NC
Posts: 66
 

Default

Thank you shan for your post

If I change the dialog.tpl file, will it reflect on both sides - customer and admin? I need it to change only on the customer side. Any thoughts?

Thanks
Reply With Quote
  #4  
Old 11-02-2004, 06:20 PM
 
elabdesigns elabdesigns is offline
 

Advanced Member
  
Join Date: May 2003
Location: Mount Airy, NC
Posts: 66
 

Default

Would it be possible to write a if statement that was along the lines of
Code:
{if $dir eq "admin"} (have desired admin dialog design code here) {else} (have desired customer dialog box design code here) {/if}

I can't quiet get the logic right? Does anyone have any thoughts?
Reply With Quote
  #5  
Old 11-02-2004, 09:58 PM
  Gijs's Avatar 
Gijs Gijs is offline
 

eXpert
  
Join Date: Aug 2004
Location: Belgium
Posts: 295
 

Default

Hi elabdesigns,

Tthis should do the trick:

Code:
{if $usertype == "C"} (your customer code here) {else} (if not customer, code here) {/if}

Gijs
__________________
X-cart 4.1.11
PHP 5 MySQL 5
www.wheelpalace.eu
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 04:46 AM.

   

 
X-Cart forums © 2001-2020