Hello all, I’m trying to create a custom page that shows a list of all the different Authors that are associated to items in the site, just like the SimpleVocab admin interface gives you. So i had the idea of creating a page that loaded the same Ajax request that returns the table with the list of all texts for a given item. For that, i used the SimplePages Plugin, and modified it according to http://interactivemechanics.com/2014/12/08/page-templates-omeka-simple-pages/.
At the moment, it works well, but it only shows if you are logged in as an admin or super user. After some research, i think the problem is that the request Url is available in /admin/simple-vocab/index/element-texts/format/html?element_id=39, so it blocks access to any non user. How could i give access to that URL to any visitor? I tried editing the hookDefineAcl() function in the SimpleVocabPlugin.php file, so it looks like this:
public function hookDefineAcl($args)
// Restrict access to super and admin users.
$args[‘acl’]->allow(null, ‘SimpleVocab_Index’ );
I don’t know if i should reinstall the plugin, or if i’m missing a parameter in there.
Thanking you in advance.