Topic: Custom Access for Joomla! groups

0 Members and 1 Guest are viewing this topic.

April 30, 2009, 04:31 PM

Offline b1han

  • Newbie
  • *
  • Posts: 2
    • View Profile
which files do i need to modify for me to add Custom Access for Joomla! groups in other words i can use noxacl to add to the groups that registered, author ect. So that i can setup up multiple conditions for various groups.

I found in your config.xml the below

   <option value="Author">Author</option>

   <option value="Editor">Editor</option>

   <option value="Publisher">Publisher</option>[/color]

Which i could add four lines like below

   <option value="Author">Author</option>

   <option value="Editor">Editor</option>

   <option value="Publisher">Publisher</option>

<option value="Example 1">Example 1</option>

   <option value="Example 2">Example 2</option>

   <option value="Example 3">Example 3</option>



Then i found the comand file admin.community_acl.php the below lines that i can modify

$javascript = "onchange=\"changeDynaList( 'author_role', grouproles, document.adminForm.author_group.options[document.adminForm.author_group.selectedIndex].value, 0, 0);\"";
   $lists['cacl_gid_ath'] = JHTML::_('select.genericlist',   $groups, 'author_group', ' class="inputbox" size="1" '.$javascript, 'value', 'text', $config->author_group );



Putting example 1,2,3 as well.  But is there any other files that i would need to modify in order to make program recognize the modifications and make it work properly



Thank you

April 30, 2009, 04:32 PM

Offline b1han

  • Newbie
  • *
  • Posts: 2
    • View Profile
Sorry also if there are other files i would need to modify what folders are they located in

Thanks

July 29, 2009, 06:14 AM

Offline Ducati

  • Newbie
  • *
  • Posts: 3
    • View Profile
I would like to know this as well. 

Thanks