Messages

Files used on this module:

Views:
centauro/views/mesagges/admin_listing.php
centauro/views/mesagges/admin_add.php
centauro/views/mesagges/admin_general.php
centauro/views/mesagges/reply.php
centauro/views/mesagges/compose.php

Controllers:
centauro/controllers/messages_controller.php

Models:
centauro/models/message.php

Description

Messages between users inside the portal.

Notes

The portal.php component check if the user logged in has no readed messages, if hi had, newmessage.html element is rendered and an icon appear in the top of portal:

if ($Element\["Message"\] != false) // the user has a new one message! {

echo $this->renderElement('newmessage', array("message_id" => $ElementMessage?));

}