Jump to content

fbg13

Members
  • Content Count

    341
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by fbg13

  1. Try falkon and qutebrowser.
  2. Cause you're not closing your divs correctly. You open 5 divs and only close them all when there are replies, if there are no replies you only close 4.
  3. Also check https://github.com/processwire/processwire-requests/issues/106#issuecomment-429644472
  4. Disregard my comment, I didn't take some things into consideration. Should have made it clearer what I meant though: "Considering the drawbacks I listed, i don't think the functions API should be the default".
  5. https://processwire.com/docs/start/api-access/
  6. Which regular templates do you mean? A new template contains only the title field and doesn't return anything until you create a template file and tell it to return (echo) something.
  7. You can get all fields of a page, that are editable by the current user, like this: $p = wire("pages")->get(5994); foreach ($p->getFields() as $pField) { foreach($p->getInputfields($pField->name) as $inputfield) { if(!$p->editable($inputfield->name, false)) { continue; }; // need tracy debugger for bd bd("is editable: {$pField->name}"); } } https://github.com/processwire/processwire/blob/96f62b313fca3f48df0521096145b782fa08c0e3/wire/modules/Process/ProcessPageEdit/ProcessPageEdit.module#L815 https://github.com/processwire/processwire/blob/96f62b313fca3f48df0521096145b782fa08c0e3/wire/modules/PagePermissions.module#L118
  8. @MarkE Have you seen the access tab on templates and fields? https://processwire.com/api/user-access/ and maybe https://processwire.com/blog/posts/building-custom-admin-pages-with-process-modules/
  9. public function matches($selector) { // This method implements the WireMatchable interface return $this->comparison()->matches($this, $selector); } @bernhard I think $this->comparison()->matches($this, $selector) is PageComparison->matches(Page $page, $s) which doesn't accept an array, it only checks for a string or int and a selector, else returns false.
  10. $p = new Page(); $p->template = 'template_name'; $p->parent = $pages->get('/about/'); $p->name = 'mynewpage_url'; $p->title = 'My New Page'; $p->save(); Edit the page $p = $pages->get('/about/mynewpage_url/'); $p->title = 'My New Page (updated)'; $p->save();
  11. Check out devilbox. I just installed php on my system and use that one. Here is how to use the php inside the docker container.
  12. I don't have a wireless printer nor a scanner so can't help with that. Maybe this will help with the wireless printing https://www.makeuseof.com/tag/setup-wireless-usb-printer-linux/
  13. @kongondo Open the software center, search for and install cups. Then you should be able to open the cups admin in the browser at http://localhost:631/admin (you will need to login with your solus user) and there you can manage the printers.
  14. I recommend you Solus with the plasma (kde) desktop, it's still in beta (the plasma version), but I had no issues with it. You can download it here., or check the other desktops available. Here is a screenshot of the taskbar and start menu (start menu is a custom one, plasma comes with 3 by default) With some distros you have to add extra repositories for codecs and drivers, which is not always straight forward, Solus provides them in their main repos.
  15. On linux distros you use package managers to install software (packages). If there is no package you need to build and install the software from source, which can be a pain in the ass, especially if it has many dependencies (you have to build and install those too). No, just devilbox (not the entire partition just for devilbox though). You can do that for other apps to but it gets complicated. For devilbox it will work, as long as you have docker and docker-compose installed. For other apps it depends, some will work some will not.
  16. Why did you install it in /opt? I put it on a separate partition so when/if i reinstall i don't have to back up and restore them.
  17. Do you mean docker compose up|down commands? It works without sudo for me.
  18. fbg13

    TV Series Talk

    Thanks to twitch i started watching korean dramas. I couldn't sleep one day and decided to watch a little and really liked the show that was running, Goblin. Now i'm watching Pinocchio. Both are very good and Goblin has an amazing OST.
  19. Give https://github.com/cytopia/devilbox a try.
  20. Send the id of the page you want to save in the ajax request, then get the page based on the id.
  21. fbg13

    Move site

    Your problem is not with PW since you're not even reaching PW, from what you said. Your problem is most likely with pointing the domain to the new server. So take it slower, instead of moving PW just put a index.html (this eliminates most steps) file on the new server and try to access that. Once you reach that index.html start moving PW.
  22. fbg13

    Move site

    Your problem is unrelated to PW. You can read here how to move a PW site, but the steps apply to most CMS's, just step 5 is specific to PW in that the file name and its location differ from cms to cms. That's why i said it's unrelated to PW, there is nothing special about moving a PW site compared to moving any other site. Have you actually contacted them? And as I said before no one can help you with the little info you provided. What kind of hosting do you have (shared, vps etc)? Do you have a control panel? Do you have phpmyadmin? Who handles your domain?
  23. fbg13

    Move site

    @henri This is unrelated to processwire. There are many possible reasons why it doesn't work. We can't know what it is by the little info you provided nor is this the place for this questions. Ask your hosting provider if they can help you move the site, or search for guides on how to move a site to a different host.
  24. fbg13

    Move site

    Move files to new server, import database, point domain to the new server, wait for the domain to propagate.
  25. Checkout _main.php Uikit 3 Regular site profile uses markup regions
×
×
  • Create New...