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)
-   -   How can I change the content box (https://forum.x-cart.com/showthread.php?t=10166)

elabdesigns 11-02-2004 01:24 PM

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 :D

shan 11-02-2004 03:30 PM

edit dialog.tpl

this kind of stuff is covered in the manual & faq :wink:

elabdesigns 11-02-2004 05:53 PM

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

elabdesigns 11-02-2004 06:20 PM

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?

Gijs 11-02-2004 09:58 PM

Hi elabdesigns,

Tthis should do the trick:

Code:

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


Gijs


All times are GMT -8. The time now is 04:38 AM.

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