In the midst of preparing for a presentation on component development,
I found a small anomaly in the Daily Message component. In the older
versions, I've put the dailymessage.class.php file in the backend
folder (administrator/components/com_dailymessage/). However, this can
cause permission problems with more complicated components if you are
trying to keep frontend code from accessing any part of the backend.
Fortunately, it appears that the call to $mainframe->getPath(
'class' ) will find the file regardless of whether it is in the
frontend or back. You can download the updated version here .
|