Language Icons

Open to all! Ask other shopowners for help.
Post Reply
radhavallabh
Senior Contributor
Posts: 466
Joined: Tue Oct 27, 2020 4:09 am
Phoenix Version: 1.1.0.6
Has thanked: 29 times
Been thanked: 3 times

Language Icons

Post by radhavallabh »

Hi ;
On 1.0.8.14 version, the language icons are showing up as broken on admin/languages.php .
Please can you help fix the issue?
Thank you in advance,
Warm Regds./
radhavallabh


Join The Code Co-op to get access to your library in the Code Co-op Forum
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Language Icons

Post by ecartz »

The easiest solution is to turn off the Default Image, which turns off the file checking.

The most forward looking would be to go through and replace all the

Code: Select all

tep_image(tep_catalog_href_link(
calls with

Code: Select all

$Admin->catalog_image(
I'll probably do that to admin/languages.php in the next release. I say probably because while I haven't done it yet, I'm working on admin/manufacturers.php and have a ways to go to fill out the release.

Note that when you do this, you may have to adjust the arguments. Most commonly by adding [], before the alt text. E.g https://github.com/CE-PhoenixCart/Phoen ... s.php#L191 to https://github.com/CE-PhoenixCart/Phoen ... ew.php#L23


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply