Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    General discussion    Topic: [solved] Backend for Managers?
Pages: [1]   Go Down
  Print  
Author Topic: [solved] Backend for Managers?  (Read 1294 times)
0 Members and 1 Guest are viewing this topic.
Moe479
Newbie
*

Karma: 0
Offline Offline

Posts: 2


Email
« on: June 18, 2012, 16:04:25 »

Hello,

iam new to joomla 2.5 and so to these nifty acl features allowing fine granulated access to components and component features

i have jcomments 2.3 administration component installed and so far adminstrators and superuser can use jcomments backend part.

but now the need arrise to grant managers access to the backend comment-list, allowing them to edit and/or publish comments via joomla backend as administrators can do.

iam missing on jcomments the button where on a component like com_users can be definded which groups have access to what features of the component?

if accees is atm hardcoded, iam also looking for a quick hack to get jcomments backend for managers running.

hope its the firstime that it was asked but the search didnt find somthing usefull to me.
« Last Edit: June 19, 2012, 15:41:34 by smart » Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #1 on: June 18, 2012, 18:13:24 »

Hm... I understand you. Indeed we have to add such option...
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #2 on: June 18, 2012, 19:17:59 »

Quick hack:

1. Open file /toolbar.jcomments.html.php
2. Find code:
Code: (php)
JSubMenuHelper::addEntry(
JText::_('A_SUBMENU_ABOUT'),
'index.php?option=com_jcomments&task=about',
$task == 'about'
);
add:
Code: (php)
if (is_file(dirname(__FILE__).'/config.xml')) {
if (JFactory::getUser()->authorise('core.admin', 'com_jcomments')) {
JToolBarHelper::divider();
JToolBarHelper::preferences('com_jcomments', '600', '800');
       }
}

2. Download attached file and put it to /administrator/components/com_jcomments/
 

* config.xml (0.61 KB - downloaded 95 times.)
« Last Edit: June 19, 2012, 15:43:43 by smart » Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Moe479
Newbie
*

Karma: 0
Offline Offline

Posts: 2


Email
« Reply #3 on: June 19, 2012, 15:30:06 »

thx, works like charm  Cheesy

the only thing is that 'administration' and 'configuration' rights are displayed twice, but it werks.
« Last Edit: June 19, 2012, 15:49:38 by smart » Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #4 on: June 19, 2012, 15:42:07 »

the only thing is that 'administration' and 'configuration' rights are displayed twice, but it werks.
I've updated config.xml and removed access.xml. So now all duplicates are removed
« Last Edit: June 19, 2012, 15:44:04 by smart » Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: [solved] Backend for Managers?
 
Jump to: