Jump to content

sebafurfaro

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

sebafurfaro's Achievements

Newbie

Newbie (2/6)

1

Reputation

  1. I moved the snippet to the init.php file and I get this error: I tried the same example from here https://processwire.com/blog/posts/pw-3.0.141/#new-hookable-templates-gt-filemodified-method And I get the same error. So, I tried this one: $config->setLocation('templates', 'site/templates/pages/'); & this one: $config->setLocation('templates','site/pages/'); For the last one, I move the directory pages into site, but the error is the same.
  2. Thanks @3fingers I tried to enter this condition if($user->hasRole('superuser')) { $config->setLocation('templates','site/templates/pages/'); } //or the same example if($user->name =='username') { $config->setLocation('templates','site/templates/pages/'); } in both _init.php and config.php, and it still doesn't work. I do not know what I'm doing wrong.
  3. Hi! I create a directory structure inside the main template directory. So, the templates are inside a directory called pages. /site/template/pages/template1.php /site/template/pages/template2.php But when I create a template from the admin, I get an error saying ProcessTemplate: No new template files were found in: /geointranet/site/templates/*.php. How can that core path be modified? It's possible? Thanks to everyone!
  4. Hello Zoeck! Thanks for responding so quickly. You have given me excellents news! 😃
  5. Hi! I am interested to know if ProcessWire CMS can be used as an intranet. Only accessible to a group of users and with the entire site hidden unless you log in. Here are some of the requirements: The site is access-protected so that only authorized accounts can see any site content at all, only the login page. Multiple editors. Only autorized users can update, create, add and upload documents, pages. I think the maximum of them will be approximately 10 or 20 users. The rest of the users obly be able to read the contents. Stability and Security. I do not want to introduce security vulnerabilities, so the security is one of the most important part in this project. Any guidance, warnings, advice would be greatly appreciated. Cheers! Seba
×
×
  • Create New...