Jump to content


Corporate Sponsors


Latest News: (loading..)

kymation

Member Since 10 Sep 2003
Offline Last Active Today, 05:27
*****

Issues I've Posted

    No language flags in Admin

    Posted 21 Dec 2010

    The flag images indicating the language in the Admin are called with the following:

    tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name'])
    This fails if the admin is not installed in a subdirectory of the catalog. To fix this, change the above to:

    tep_image(HTTPS_CATALOG_SERVER . DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name'])

    Regards
    Jim