|
problem when joomla is not in root 7 Months, 2 Weeks ago
|
Karma: 0
|
|
Hi,
I have tried pcDTR and is realy greate.
I have had one problem, I don't have joomla installed in root directory - for example [www.server.com/my_joomla]. When I tried pcDTR no generated images were shown. So i look at cache dir and there were images... only in included css style were wrong paths. [/cache/3904801098409.png] and should be [./cache/...] or [/my_joomla/cache/....] becouse this [/] means root dir and in my case it dont work well.
I tried to repair it in pcDTR settings, but then the image generation was wrong. So I repaired it in pcdtr.php file - but it is only hot fix exactly for my case.
please, can you fix it in next version ?
thank you very much for that plugin.
david
|
|
|
|
|
|
|
Re:problem when joomla is not in root 7 Months, 2 Weeks ago
|
Karma: 2
|
|
Noticed i missed that one again.
Change row 125 in pcdtr.php from:
$dom = str_replace('changeme.'.$group, '/'.$this->params->get('cache_dir').'/'.$change[$n], $dom);
To:
$dom = str_replace('changeme.'.$group, JURI::base(true).'/'.$this->params->get('cache_dir').'/'.$change[$n], $dom);
|
|
|
|
|
|
|