Jump to content

hus

Members
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

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

hus's Achievements

Newbie

Newbie (2/6)

1

Reputation

  1. Thanks for your help. After activating the option in the template-settings I have taken a mouse-recording-tool with a loop (Automator/Mac) to do the job. It took about 5 hours to do the job for more than 1000 pages. Next time, shure, I will use your code.
  2. Is there a solution to make a search/replace in the System Field «creator» outside php myAdmin? I should change the creator ID for a great amount of pages. Thanks for your help. Hansueli Schiller
  3. Thanks for this hint! It was the following code in ready.php: $ this-> addHookAfter ('Pages :: trash', null, function ($ event) { if ($ this-> wire ('user') -> hasRole ("editor")) $ this-> wire ('session') -> redirect ("/"); }); With this code we want to prevent users from being directed to the treelist after deleting a page. The problem was, that the role editor was also assigned to the superuser. I am a processwire beginner and therefore I appreciate the support of this forum!
  4. I have created a new superuser and found that with this login the problem with the trash does not occur. I actually want to prevent having to delete all the users as the ID changes.
  5. The problem is not solved yet. Meanwhile, we use a workaround. On a newly created page all items with status 8193 are listed. From there they can be checked and then deleted.
  6. Thanks for your hint. Meanwhile, I've created a copy of my application for testing. Even after upgrading to version 3.0.138, the problem persists.
  7. Hi I have encountered a strange behavior with deleting pages. ProcessWire version 3.0.123 Login as superuser I have deleted 6 pages with following result: On the page «Empty Trash» deleted pages are not listed underneath «Pages in the trash». (Menue unfolded) It says correctly that there are 6 pages in the trash. Also in the tree-view the 6 pages are no items shown in the trash (Papierkorb) and there is no count-number. Empty the trash permanently does not delete the pages, they get restored! Moving a page from the tree to the trash is also not possible with the error message «undefined» from the browser. There is no entry in the error-log. Thanks for your help!
×
×
  • Create New...