Jump to content

antpre

Members
  • Content Count

    93
  • Joined

  • Last visited

Community Reputation

25 Excellent

About antpre

  • Rank
    Full Member

Recent Profile Visitors

1,595 profile views
  1. Hi, tks for the module. I am triggering the db Backups using a script and a server cron job. The code of the script is this namespace Processwire; require_once(__DIR__ . '/../../../index.php'); $cron_backup =$wire->modules->get('CronjobDatabaseBackup'); $cron_backup->cronBackup(); With this script the db backup file is created but when I access the db backup admin screen. I get these notifications (see screen shoot) and it seems that the db file cannot be read. I checked the rights on the db files created this way but they are the same than the other backup files (created with the db backup module). If I use the 'normal' lazy cron way with this module there is no problem. Any idea ? Tks a lot
  2. Hi thanks for the module, It 's seems the permission issue mentioned earlier (if user doesn't have an edit permission error messages show up in the modal window) is still there. It would be great if the create button would be permissions aware and not been displayed if user doesn't have the edit rigths. Is this something that can be added at some point ? Thanks
  3. OK thanks for your response, I ll check that.
  4. Thanks a for your answer. Sorry If I was unclear in my explanation. I am aware of what you mentioned. I am just trying to figure out why, when the admin template has access control on and only super user can see admin template based pages, why non super user in the back end still see the Admin Custom Pages I ve created and no other admin pages. These custom admin pages should be equally hidden in the same way than the other admin pages. But I guess that your module does not interact with access control. So I ll keep searching. Regards
  5. Problem still there. Any solution known ?
  6. Hi, I have a question, can't get to pass option to a chart panel. Whatever option are not getting apply. must be a synthax probleme maybe. Here is the code. for instance with this code the legend is still below the doughnut (it should be rigth to it) and the dougnut is fairly thin and it should be 50%. Thanks for your help. $panels->add( ['panel' => 'chart', 'title' => 'Tags Status', 'data' => [ 'chart' => [ 'type' => 'doughnut', 'data' => [ 'labels' => ['Doc without tag','Doc not reviewed','Docs tags OK'], 'datasets' => [ [ 'data' => [$noTag, $TagNotReviewed, $TagReviewed] ] ], 'options' => [ 'cutoutPercentage' => '50', 'position' => 'right', ] ] ] ] ] );
  7. HI, Tks for the userfull module. I bumped into a funny issue related to role and permission. I have added a role for editors that can access backend with limited permissions (page view, page edit, some listers). For some reason, the admin custom page are shown in the setup menu. These are the only admin pages that are displayed to the editor. I realy don't understand why. I have not change any access parameter on the admin template thats only accessible to superuser. Any idea what going on (it's a multilanguage site). Tks for your help
  8. Hi, I am trying to run a script on my processwire installation (custom admin page). This script has to work with external files (hosted on S3). The php fopen command returns a "failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request " On my php ini the allow_url_fopen is on . I guess it is not an issue with php conf If I copy the url of the file I am trying to open, in a browser, I can access the file. I guess it is not a permission issue on the S3 bucket. Any idea would be welcome Thanks a lot
  9. @d'Hinnisdael : Thks a lot for the module. It's a real saving grace and makes it a breeze to present good looking admin dashboard. And the documentation is very well done too. Thanks again for all the good work.
  10. Thanks horst and Krlos, By generic user name you mean using one single user account with a generic name and then distribute the password to every member. This is what I was trying to explain (the first option in my initial post)... but was not clear enough ! I can do this but I was wondering if having multiple users connected at the same time with the same user account would be problematic. If it can work that way, that's the best for me.
  11. Tks Krlos for your answer. The module you mentioned leverages the PW user system wich is what I am trying to avoid because I don't want to ask users to create a user account to log in. Regards
  12. Hello everyone. I have a "newby"'s question regarding password protecting the front end of on one of my website. The web site in question is for the members of a small scale non profit organisation. It should not be easily accessed by non members but they don't want to force their members to create a personal user account. From their point of view a simple common password should be enough. Here is my question : Can I use a newly created user and in the login form only ask for the password (I will feed the username in the code). In this case many users will potentially log with the same user at the same time. Is this approach correct, are there any drawbacks (performance ?)... or is it realy a bad idea 🙂 Otherwise I can just implement a simple password protection function without using the user system (didn't find a module addressing that need). Thanks for your help
  13. Kongondo, I am refering to the 3 choices you have to add a menu item in the admin interface of the module : Pages / Custom /selector. Each of the menu item are using the custom option. here are 2 items of this menu The base url is the same, cause this a single process wire page, and the 2 last bit of the url are the url segments (ie /type/talk or /type/cours).
  14. Hi, I am using Menu builder on a new multi-language web site. It's a simple use case : only on level on the main menu. It'is working fine. Thanks again for the module. However I have one issue. the class for the current item is not rendered in the html. My code is like this : $menu = $modules->get('MarkupMenuBuilder'); $options = array( 'current_class' => 'active', ); echo $menu->render('MainMenu', $options); One point though : each menu item is a "custom item" with a url to the page and url segments (2 or 3) and all the menu item points to the same page (with different url segment). Do you think this is the reason why the current class is not present in the html ? If so is there any workaround ? Thanks a lot
×
×
  • Create New...