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)
-   -   Different go button in admin, and in store (https://forum.x-cart.com/showthread.php?t=38844)

AgentBristow 04-05-2008 01:56 AM

Different go button in admin, and in store
 
I updated the go.gif image that appears in the top right corner of the admin panel. Trouble is it updated the one in the actual store as well - I want to use one image for the admin and a different one for the store - how do I do this?

I have been all through the button.tpl files and I just can't figure them out :(

balinor 04-05-2008 04:25 AM

Re: Different go button in admin, and in store
 
{if $usertype eq "C}

show customer button

{else}

show regular button

{/if}

AgentBristow 04-05-2008 04:47 AM

Re: Different go button in admin, and in store
 
thanks! where do I put that?

balinor 04-05-2008 05:27 AM

Re: Different go button in admin, and in store
 
Create two go buttons, and use the {if} statement in the button template where that image is to display one or the other.


All times are GMT -8. The time now is 12:40 AM.

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