Jump to content

dotnetic

Members
  • Posts

    881
  • Joined

  • Last visited

  • Days Won

    8

dotnetic last won the day on February 15 2020

dotnetic had the most liked content!

Contact Methods

  • Website URL
    https://dotnetic.de
  • Skype
    jens.martsch

Profile Information

  • Gender
    Male
  • Location
    Münster, Germany

Recent Profile Visitors

9,880 profile views

dotnetic's Achievements

Hero Member

Hero Member (6/6)

989

Reputation

  1. Guys, I found the method that I meant. It is not the field=fieldname URL that Bernhard mentioned. A long time ago I also tried to tackle a similar task, where I wanted to remember and focus the last edited field after you saved a page. I opened a github issue for this and later Ryan added some methods that he mentioned in a reply, that achieve the behaviour I and @Peter Falkenberg Brown want. Just add a #focus-field_name to the URL when the page is saved and the redirect is executed and the field gets focused. An example URL looks like https://domain.com/processwire/page/edit/?id=1056#focus-subheadline and would focus the field named "subheadline". I am a fan of using native methods that ProcessWire offers, over custom ones. But what the others wrote is also viable. I will provide a hook, just have to test it out, but it goes somewhat like this: <?php namespace ProcessWire; $this->addHookBefore('ProcessPageEdit::processSaveRedirect', function (HookEvent $event) { $url = $event->arguments(0); $page = $event->object->getPage(); if ($page->template == "book_sales" && !$page->isTrash()) { if ($url !== "../") { $goto =$page->url . '#focus-list_price"; $event->arguments = array($goto); } }
  2. I just love our community and all the good ideas.
  3. Also check if the file /var/www/html/GF_website/processwire-dev/site/assets/logs/exceptions.txt excists. If not, create it and check if that fixes the problem.
  4. It might be that the PHP runs as a different user as the webserver, and therefore has no acces if you only gave rights for the owner and the group. Please check back with your hoster
  5. To focus an Inputfield there is a method since 3.0.145 (ProcessWire 3.0.145 core updates) Inputfields.focus(f) which you could put into an custom admin.js file. There is also a possibility to do a redirect and focus the field via PHP but I don't remember the query parameter. Maybe @bernhard can jump in for the correct syntax.
  6. You need to give the correct rights via CHMOD or CHOWN to some folders. for example the logs directory and the files in it need read and write access. Also it seems that you didn't upload the modules folder. Please assure that the folders site/assets/files site/assets/cache site/assets/logs exist and have the correct rights
  7. I would suggest using something like the great Dashboard (Dashboard) - ProcessWire Module. You can easily add a custom PHP file to render whatever you want on a separate "Dashboard" page. It even has nice predefined "panels" with can show something like a sum with an up or downtrend arrow. It is very easy to setup and comes with good examples.
  8. What excactly are you asking for? For the method to calculate the sum, or to display the data in the admin like with RockTabulator? For the sum function there is this module PagesSum (PagesSum) - ProcessWire Module
  9. The change goes live on November 1st. You can read about the impacts here: FAQ: The Coming Domains API Change To Remove The SMTP Password On November 1, 2021 – Mailgun Help Center and specially this part Will this change impact the application I have integrated with Mailgun? The short answer: maybe, but most likely not.
  10. This only happens with some overseen files that have another or no textdomain, because of the main ProcessWire version change. In the files list, they look like this: a working file would look like this: I try to do a cleanup and push the changes to the repo
  11. An advantage of using a service like mailgun is, that you get statistics like opens and clicks and bounce management, which you haven't with normal SMTP. Corporate SMTP mail servers may have limitations on the number of recipients that can be included on an email and how many emails you can send in a time period.
  12. I will take a look at this. Normally a change should/could be discussed here or you could create an issue and/or PR for that on github. If it really makes sense to me, I will merge the PR or fix the issue. Yeah, because I changed the branch from master to main, sadly I can not login to modules.processwire.com (again) and change the information. I will ask Ryan or Pete for help, so I can login again.
  13. Normally I would believe that this information should auto update, right @ryan?
  14. New Release! Added support for latest stable ProcessWire version 3.0.184
×
×
  • Create New...