How to change path products image???

17.11.2016 10:44
#1
k3nzyyb
Joomshopping forum user no avatar
Name: Do duc tu
13.01.2013
Posts: 14
Quote
How to change path products image???

hi guy, i using 2 domain on 1 database.
exp: zzz.com and yyy.com
i want to share folder "files/img_products" => 2 domain use folder "/domains/zzz.com/public_html/components/com_jshopping/files/img_products"
I find, must change components\com_jshopping\lib\default_config.php


Please teach me how to change?? yyy.com use folder in zzz.com, it's on 1 server, 1 database

 
17.11.2016 11:36
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: How to change path products image???

change rows

$config->image_product_live_path = $config->live_path."files/img_products";
$config->image_product_path = $config->path."files/img_products";

 
17.11.2016 15:48
#3
k3nzyyb
Joomshopping forum user no avatar
Name: Do duc tu
13.01.2013
Posts: 14
Quote
Aw: How to change path products image???

please more specific !
you can write code in my example?
I tried to change 2 row, but not works :(

 
17.11.2016 15:59
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: How to change path products image???

your changed?

 
18.11.2016 02:04
#5
k3nzyyb
Joomshopping forum user no avatar
Name: Do duc tu
13.01.2013
Posts: 14
Quote
Aw: How to change path products image???

on domain yyy.com, i changed default_config.php

$config->sky = JPATH_ROOT."/domains/zzz.com/public_html/components/com_jshopping/";
$config->sky_path = JURI::root().'domains/zzz.com/public_html/components/com_jshopping/';

$config->image_product_live_path = $config->sky_path."files/img_products";
$config->image_product_path = $config->sky."files/img_products";


but not work :(

 
18.11.2016 08:06
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: How to change path products image???

Try
$config->sky = "/domains/zzz.com/public_html/components/com_jshopping/";
$config->sky_path = 'http://zzz.com/components/com_jshopping/';

if it is allowed by your server(
read/write file from folder
/domains/zzz.com/public_html/components/com_jshopping/
)


Letzte Änderung: 18.11.2016 08:09
 
19.11.2016 12:20
#7
k3nzyyb
Joomshopping forum user no avatar
Name: Do duc tu
13.01.2013
Posts: 14
Quote
Aw: How to change path products image???

thanks for support !
it's worked when I changed according to your instructions
but must change timthumb.php file => success

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.