Hi Poussemousse,
I wonder if your website works with the structure
root/site/components, because the right structure for front end part of Joomla is
root/components! Joomla and all extensions expects this structure, it is an obligatory condition for Joomla to work properly!
There are constants defined in Joomla for the correct paths to component admin and component site location. That are (see
docs.joomla.org/Constants
)
- JPATH_COMPONENT_ADMINISTRATOR - The path to the administration folder of the current component being executed.
- JPATH_COMPONENT - The path to the current component being executed.
These constants references
root/administrator/components respectively
root/components and something that way I use to build the links to the articles in the newsletter. There is no way to change this!
I assume, that Your structure is a consequence of simply copying the content of installation packages to the Joomla root folder. Best correction would be to install Joomla and all used extensions correctly. You may try to copy all folders and files from
root/site/components to
root/components, but I suppose, that will not solve Your problem properly.
Hth
Romana