Модуль Cataloger
Модуль Cataloger
Проблема такого характера. Установил модуль Cataloger. Создал новую страницу. Пытаюсь загрузить на нее изображения .jpg Пишет что загружено, но на странице так же не отображаются картинки. В чем может быть проблема? Скриншоты ниже.
Re: Модуль Cataloger
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Модуль Cataloger
Такая же проблема, но не могу правильно прописать URL в Config.
Если прописываю, то ссылки становятся такими:
mysite.com/root_URL/...
Если прописываю, то ссылки становятся такими:
mysite.com/root_URL/...
Re: Модуль Cataloger
site.com/modules/Cataloger/uploads/images/catalog/image.jpg
Как убрать "modules/Cataloger" из ссылки? Вероятно из-за этого картинки не работают.
Как убрать "modules/Cataloger" из ссылки? Вероятно из-за этого картинки не работают.
Re: Модуль Cataloger
Как в шаблоне формируется ссылка?sbupravi wrote:Как убрать "modules/Cataloger" из ссылки?
Re: Модуль Cataloger
На сайте:guro wrote:Как в шаблоне формируется ссылка?
Code: Select all
mysite.com/modules/Cataloger/Cataloger.Image.php?i=okno-1_f_1_400_1.jpg&ac=72144
Code: Select all
<div class="catalog_item"><p>{$title}</p><div class="item_images"><img id="item_image" name="item_image" src="{$image_1_url}" alt="{$title}" title="{$title}" /><div class="item_thumbnails">{section name=ind loop=$image_url_array}<a href="javascript:repl('{$image_url_array[ind]}')"><img src="{$image_thumb_url_array[ind]}" title="{$title}" alt="{$title}" /></a>{/section}</div></div>{section name=at loop=$attrlist}<div class="item_attribute_name">{$attrlist[at].name}:</div><div class="item_attribute_val">{eval var=$attrlist[at].key}</div>{/section}{literal}<__script__ type="text/javascript">function repl(img) { document.item_image.src=img; }</__script>{/literal}{if $file_count > 0}<ul class="files">{section name=ind loop=$file_name_array}<li><a href="{$file_url_array[ind]}">{$file_name_array[ind]}</a></li>{/section}</ul>{/if}</div>
Re: Модуль Cataloger
Так какая, всё таки, формируется ссылка
илиsbupravi wrote:site.com/modules/Cataloger/uploads/images/catalog/image.jpg
?sbupravi wrote:mysite.com/modules/Cataloger/Cataloger.Image.php?i=okno-1_f_1_400_1.jpg&ac=72144
Re: Модуль Cataloger
Вторая, длинная!guro wrote:Так какая, всё таки, формируется ссылкаилиsbupravi wrote:site.com/modules/Cataloger/uploads/images/catalog/image.jpg?sbupravi wrote:mysite.com/modules/Cataloger/Cataloger.Image.php?i=okno-1_f_1_400_1.jpg&ac=72144
Re: Модуль Cataloger
И по ней не показывается картинка?
Re: Модуль Cataloger
http://test-vitaliy.elitaservis.com/okna.htmlguro wrote:И по ней не показывается картинка?
http://test-vitaliy.elitaservis.com/okna/okno-1.html
Контент, сразу под слайдером. Как видно - не показываются...
Re: Модуль Cataloger
Again: http://forum.cmsmadesimple.org/viewtopi ... =7&t=65758
Without this it won't work. (At least not until next release...)
Without this it won't work. (At least not until next release...)
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Модуль Cataloger
What to write?Jo Morg wrote:Again: http://forum.cmsmadesimple.org/viewtopi ... =7&t=65758
Without this it won't work. (At least not until next release...)
If I prescribe
Code: Select all
$config['root_url'] = '<your_root_url>';
$config['uploads_url'] = '<your_uploads_url>';
Code: Select all
mysite.com/<your_uploads_url>/modules/Cataloger...
Re: Модуль Cataloger
In your case:
I can't possibly guess what is your uploads_path so you have to know and fill in the correct value.
Code: Select all
$config['root_url'] = 'http://test-vitaliy.elitaservis.com';
$config['uploads_url'] = 'http://test-vitaliy.elitaservis.com/uploads';
$config['uploads_url'] =...
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Модуль Cataloger
"http://..."
Thx!

Re: Модуль Cataloger
Не перезаписываются старые изображения на страницах категорий и элементов.
Причем, новые добавляются хорошо, а старые даже при удалении - остаются на сайте.
Кэш чистил, пути обновлял, права на папки: 777
Причем, новые добавляются хорошо, а старые даже при удалении - остаются на сайте.
Кэш чистил, пути обновлял, права на папки: 777