Hi,
Joomla 1.15
K2 v2.4.1
PHP 5.2.9
I'm not sure why this is occurring but it has only started since my using of K2 content component.
When I create an item/article and preview it on my live site. I see that images from a custom module in my right-hand column are broken. Not all images on the page, just those from my custom module.
Obviously this is occurring because the item pages are two-levels deep and the path to my images is broken. But what I don't understand is that the image paths in the module are based on the base directory of the site. So regardless of WHERE the user is on my site, it's always using the base directory path to generate the locations of my image items.
"/templates/$template/images/image.jpg"
When I enter that path directly into the browser after my domain name, the image appears, so 100% the image is there on the server (plus, my other root level pages are fine).
Why is it not working within /home/item/page.html?
Also, one other question... is it possible to have item/article URLs published to root instead of to home/items?
Thanks,
NOT_YOURS
Joomla 1.15
K2 v2.4.1
PHP 5.2.9
I'm not sure why this is occurring but it has only started since my using of K2 content component.
When I create an item/article and preview it on my live site. I see that images from a custom module in my right-hand column are broken. Not all images on the page, just those from my custom module.
Obviously this is occurring because the item pages are two-levels deep and the path to my images is broken. But what I don't understand is that the image paths in the module are based on the base directory of the site. So regardless of WHERE the user is on my site, it's always using the base directory path to generate the locations of my image items.
"/templates/$template/images/image.jpg"
When I enter that path directly into the browser after my domain name, the image appears, so 100% the image is there on the server (plus, my other root level pages are fine).
Why is it not working within /home/item/page.html?
Also, one other question... is it possible to have item/article URLs published to root instead of to home/items?
Thanks,
NOT_YOURS