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

Change Admin Images

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 07-14-2015, 11:40 AM
  CenturyPerf's Avatar 
CenturyPerf CenturyPerf is offline
 

eXpert
  
Join Date: Jun 2003
Location: Reno, Nevada
Posts: 396
 

Question Change Admin Images

What is the easiest way to change images in the admin area of XC5?

Admin Login Logo at the upper center of page (and text below it)
Upper left Logo

/skins/admin/en/images/logo.png
/skins/admin/en/images/logo_admin.png

I tried changing the images themselves and redeployed the store, but the images remain the same. I used the same image names, renaming the original images.

It would be great to be able to modify it within "look and feel" as custom CSS or something.
__________________
Best Regards,

Sam Solace - Pres/CEO
Century Performance Center, Inc.
http://www.centuryperformance.com

(3) sites using X-Cart 5.3.5.5
X-Payments Enterprise 3.1.4
Reply With Quote
  #2  
Old 07-15-2015, 02:33 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: Change Admin Images

Quote:
Originally Posted by CenturyPerf
What is the easiest way to change images in the admin area of XC5?

Admin Login Logo at the upper center of page (and text below it)
Upper left Logo

/skins/admin/en/images/logo.png
/skins/admin/en/images/logo_admin.png

I tried changing the images themselves and redeployed the store, but the images remain the same. I used the same image names, renaming the original images.

It would be great to be able to modify it within "look and feel" as custom CSS or something.

Hello.
Admin area can not be customized via Custom CSS, it only affects the front-end template.
I assume that you are referring to this image
http://i.gyazo.com/f7b19db0a7abe4dc72c87f694b9d0d87.png
It is drawn via SVG.
You should modify the /skins/admin/en/main_center/page_container_parts/header_parts/logo.tpl template to change the logo.
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
  #3  
Old 07-15-2015, 07:40 AM
  CenturyPerf's Avatar 
CenturyPerf CenturyPerf is offline
 

eXpert
  
Join Date: Jun 2003
Location: Reno, Nevada
Posts: 396
 

Default Re: Change Admin Images

Oddly enough,

Whatever changes made to that template file make not one bit of difference.

Whether SVG displays the image or not, if I modify the original image it should change the image when SVG processes it, correct?
__________________
Best Regards,

Sam Solace - Pres/CEO
Century Performance Center, Inc.
http://www.centuryperformance.com

(3) sites using X-Cart 5.3.5.5
X-Payments Enterprise 3.1.4
Reply With Quote
  #4  
Old 07-15-2015, 09:50 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: Change Admin Images

Quote:
Originally Posted by CenturyPerf
Oddly enough,

Whatever changes made to that template file make not one bit of difference.

Whether SVG displays the image or not, if I modify the original image it should change the image when SVG processes it, correct?

I mean you should change the actual URL of the logo.
Replace this
Code:
<div class="logo"><a href="{buildURL()}">{getSVGImage(#images/logo.svg#):h}</a></div>
with something like this
Code:
<div class="logo"><a href="{buildURL()}"><img src="https://www.google.ru/images/srpr/logo11w.png" /></a></div>
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
  #5  
Old 07-16-2015, 10:34 AM
  CenturyPerf's Avatar 
CenturyPerf CenturyPerf is offline
 

eXpert
  
Join Date: Jun 2003
Location: Reno, Nevada
Posts: 396
 

Default Re: Change Admin Images

Unfortunately, that does NOT change the image.

I can insert a relative or full URL and the image does not change. I can open the edited image in the web browser (using its original path--see below), but it will not change within the admin console.

The expected result after I DELETE (rename) or MODIFY the original image it would change the image by default. That is what SHOULD occur and would be considerably easier than all of these failed code edits.

original image:
/public_html/skins/admin/en/images/logo.png

Renamed to logo.png.original
Replaced by image of identical size and name (logo.png)



IMAGE DOES NOT CHANGE IN ADMIN!!! Where else is the original image hiding and preventing changes?
__________________
Best Regards,

Sam Solace - Pres/CEO
Century Performance Center, Inc.
http://www.centuryperformance.com

(3) sites using X-Cart 5.3.5.5
X-Payments Enterprise 3.1.4
Reply With Quote
  #6  
Old 07-16-2015, 10:54 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Change Admin Images

Do you have cache for images on? This could be the reason.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #7  
Old 07-16-2015, 11:02 AM
  CenturyPerf's Avatar 
CenturyPerf CenturyPerf is offline
 

eXpert
  
Join Date: Jun 2003
Location: Reno, Nevada
Posts: 396
 

Default Re: Change Admin Images

I believe cache for images is ON.

However, these images (admin side) do not exist in the /var directory and I also tried redeploying the store.
__________________
Best Regards,

Sam Solace - Pres/CEO
Century Performance Center, Inc.
http://www.centuryperformance.com

(3) sites using X-Cart 5.3.5.5
X-Payments Enterprise 3.1.4
Reply With Quote
  #8  
Old 07-16-2015, 11:04 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Change Admin Images

It may be just your browser using local cached version of the page
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #9  
Old 07-16-2015, 11:37 AM
  CenturyPerf's Avatar 
CenturyPerf CenturyPerf is offline
 

eXpert
  
Join Date: Jun 2003
Location: Reno, Nevada
Posts: 396
 

Default Re: Change Admin Images

I thought of that too. Tried three different browsers, and cleared cache in each before and after each attempt.
__________________
Best Regards,

Sam Solace - Pres/CEO
Century Performance Center, Inc.
http://www.centuryperformance.com

(3) sites using X-Cart 5.3.5.5
X-Payments Enterprise 3.1.4
Reply With Quote
  #10  
Old 07-18-2015, 10:19 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: Change Admin Images

Quote:
Originally Posted by CenturyPerf
I thought of that too. Tried three different browsers, and cleared cache in each before and after each attempt.

You should re-deploy your store after editing the template to apply this change.
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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 01:58 AM.

   

 
X-Cart forums © 2001-2020