theo

Members
  • Content count

    31
  • Joined

  • Last visited

Community Reputation

7 Neutral

About theo

  • Rank
    Jr. Member

Recent Profile Visitors

550 profile views
  1. @justb3a: I had this idea before, but it is not really convenient for users (editors) and looks a bit "half-baked". I think this feature should really go into core, as you suggest. Thank you. Edit: Feature request: https://github.com/processwire/processwire-requests/issues/117
  2. Very useful Module. Is there a way to hide / unpublish a single image temporarily instead of deleting (trashing) the entire image + information? A checkbox for this would be great. Thank you.
  3. You are right. Found Module "PrevNextTabs", which seems to do what i need. Thank you.
  4. This is probably a simple question, but I can't find out how to do it. I would like to navigate to the next page (edit the next sibling page) in the backend without using the tree, but just clicking "next". How can I do this? EDIT: OK I have found there is "save and next" which is good. But just "previous/next" without selecting an option from the save button would be nice. Is there sth. like this in AdminOnSteroids?
  5. Just a detail: Why are these br tags visible in the module config? Sth. changed in Processwire?
  6. Yes it works. Thank you very much!
  7. OK, thank you.
  8. I don't know PW well enough, but isn't there a setting anywhere to get or set (in my case:) rootURL: http://localhost/~theo/pw3061/ rootPath: /home/theo/public_html/pw3061/ It think this would be handy in many situations. I'm usually setting such values in init.php, but it should probably go to config.php as a PW standard variable. Or does sth. like this already exist?
  9. Thank you Roland. But I can't make it work. I show you what I did to test it. There are 6 "echos" marked like (0) ... (5). Code snippet is from about line 989 of the module. echo $root.' (0)<br>'; echo $rootPath.' (1)<br>'; // remove install subdirectory $rootPath = rtrim($rootPath, $root); echo $rootPath.' (2)<br>'; $rootUrl = $this->config->urls->httpRoot; $rootUrl = rtrim($rootUrl, $root); $templatesUrlRelative = $this->config->urls->templates; echo $rootUrl.' (3) <br>'; echo $templatesUrlRelative.' (4)<br>'; // do not add JS to page on login page if ($this->page->id != 23) { // custom CKEaddons config js and css $ckeCSS = $this->getAssetPath('CKEStyle', 'admin/cke.css', $templatesUrlRelative, $configData, $root); $ckeJS = $this->getAssetPath('CKEScript', 'admin/cke.js', $templatesUrlRelative, $configData, $root); $ckeTemplates = $this->getAssetPath('CKEtemplates', 'admin/templates.js', $templatesUrlRelative, $configData, $root); echo $rootPath . $ckeJS.' (5)<br>'; This outputs: /~theo/pw3061/ (0) /home/theo/public_html/pw3061 (1) /home/theo/public_html (2) http://localhos (3) /~theo/pw3061/site/templates/ (4) /home/theo/public_html/~theo/pw3061/site/templates/admin/cke.js (5) Where settings are: Assets Root Path: /home/theo/public_html/pw3061/ CKEditor custom configuration script: /site/templates/admin/cke.js Thank you.
  10. Yes, I think so!
  11. Thank you, but I guess this won't work either, because it wants a path "relative to site root" and this ends up in the same problem afaics. Thanks for your time.
  12. It is the way of "mod_userdir" https://httpd.apache.org/docs/2.4/mod/mod_userdir.html
  13. Hello Thank you for AdminOnSteroids. Very helpful. However one problem: I was trying to load a "cke.js" using the preset path. On line 1025 of AdminOnSteroids.module, it is looking for this file in if (file_exists($rootPath . $ckeJS)) { However in my case, this would be (output of echo $rootPath . $ckeJS:) /home/theo/public_html/~theo/pw3061/site/templates/admin/cke.js Is this because I have a non root (mod_userdir) installation of PW? The file is loaded, if I set the path directly in the code before "file_exists" like: $configData['customCKEScript'] = $ckeJS; Thank you.
  14. Yes, thank you. Found it myself one minute ago. I will try this. I think this will to the job.
  15. Thank you. How can I define where to store new PagesTables?