(I hope I'm in the right forums category to ask this.)
I'm doing some research on building modules, and working with the PHPBB permissions sytems / roles. I'm trying to implement an example module.
I'm taking the example module from:
Below is a list of my file names, and their locations:
acp_hello_world.php -- includes/acp/info
acp_hello_world.php -- includes/acp/
acp_hello_world.html -- language/en/mods
Inside the admin panel I've created a section for the mod.
Under 'SYSTEM' I've gone to the ACP section. I created two categories, and one module. My HELLO_World module shows up in the list as an option to assign it. So I did. I now have a new visible tab at the top of my admin panel.
But when I click the tab it tells me:
Language file ./../language/en/mods/hello_world.php couldn't be opened
I've got my language file named acp_hello_world.html. If I change it to hello_world.html the error changes, and tells me that acp_hello_world.html doesn't exist. So it obviously wants it to be named acp_hello_world.html.
But why isn't it opening? I tried to chmod the language file, but it didn't work. Any ideas?
Thanks in advance.