Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Feature Requests
(1 viewing) (1) Guest
Document management system (DMS) component for Joomla!

If your topic falls within one of the subcategories, then please post it directly there. Post to this parent category only if your question does not match any subcategory topic.
  • Page:
  • 1

TOPIC: Feature Requests

Feature Requests 13 years, 10 months ago #12093

I would like to request the following features:

*When A doc is uploaded or changed, I would like to be able to notify a usergorup. This might be configured first in the configuration options, and then perhaps an override set per-category. Just one set in the config options would satisfy my needs.

*Default listing order configuration per "Category" So, if I want one document type alphabetical and one newest first and another newest last, I can do that.

*Finally, it would be super amazing if JoomDoc would be able to integrate its usergroups into CB's lists. So, My CB lists appear as usergroups in JoomDoc!


Thanks for the great app.

Dr. Sassafras
The topic has been locked.

Re:Feature Requests 13 years, 10 months ago #12230

2nd this request

Need something like Docmans: support.joomlatools.eu/tutorials/5-docman-notify.html
only setup for joomDoc

The following can be modified to notify all super administrators with Notify selected in user manager:

components/com_joomdoc/views/document/view.html.php
FROM:
if ($step == 3) {
DocmanViewDocument::importScript ();
}

TO:

if ($step == 3) {


global $mainframe;
$db =& JFactory::getDBO();

$mailfrom = $mainframe->getCfg( 'mailfrom' );
$fromname = $mainframe->getCfg( 'fromname' );
$subject = 'New File Uploaded';
$message = $_FILES['upload']['name'];

//get all super administrator
$query = 'SELECT name, email, sendEmail' .
' FROM #__users' .
' WHERE LOWER( usertype ) = "super administrator"';
$db->setQuery( $query );
$rows = $db->loadObjectList();

// get superadministrators id
foreach ( $rows as $row )
{
if ($row->sendEmail)
{
JUtility::sendMail($mailfrom, $fromname, $row->email, $subject, $message);
}
}

DocmanViewDocument::importScript ();
}
Last Edit: 13 years, 10 months ago by brandon.
The topic has been locked.
  • Page:
  • 1
User Login Empty