Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/20/2017 in all areas

  1. Hey, @flydev! I am sure those that are not beta testers will have most questions, so better ask us, eagerly waiting for the release, after it happens) Glad you are back here, by the way!
    2 points
  2. This post has a perfect solution if anyone else need it. I will be glad to share my code if needed.
    2 points
  3. Can you give a bit more context to this piece of code? Where does $image come from? Does image display on the front end (or does url show up correctly)?
    1 point
  4. I think I've found a pattern. Whenever I switch from my smartphone to PC and vice versa, my session terminates. It acts similar to how $config->sessionFingerprint works. I have a VPN on 24/7 on my PC, so it pretends to be in Amsterdam while I occasionally turn on VPN on my smartphone, so it mostly stays in Turkey. Constant switching between two devices and IP addresses is maybe what sets off this problem.
    1 point
  5. hi rushy, maybe i'm misunderstanding you but it sounds like you are trying to display the description of the FIELD and not the description of the IMAGE? you do not have a template override option for image descriptions... this is where you put the description of your images:
    1 point
  6. A great module! I needed a photo gallery for a few websites and this works fantastic. Please go ahead and get this module published in the ProcessWire Module Directory.
    1 point
  7. I couldn't replicate your error, but reading the source, InputfieldSelector gives that error when allowSubselector is set to false. // /wire/modules/Inputfield/InputfieldSelector/InputfieldSelector.module public function sanitizeSelectorString($selectorString, $parseVars = true) { // ... foreach($userSelectors as $s) { if($s->quote == '[' && !$this->allowSubselectors) { $this->error("Subselectors are disabled"); $userSelectors->remove($s); $userSelectors->add(new SelectorLessThan('id', 0)); // forced non match } // ... } // ... return $selector; } Turns out subselectors were actually exclusive to ListerPro module. // /wire/modules/Process/ProcessPageLister/ProcessPageLister.module public function getInputfieldSelector() { // .. $s->allowSubfieldGroups = false; // we only support in ListerPro $s->allowSubselectors = false; // we only support in ListerPro // ... }
    1 point
  8. Just in case someone else encounters the same problem: I had to migrate a whole website to PW and during tests I imported around 200 pages. Now I wanted to delete them and start the real import process. To get rid of the test pages I tried to delete them with adrians AdminActions, but got an error message and nothing was deleted: Error: Call to a member function path() on a non-object (line 261 of /xxx/site/assets/cache/FileCompiler/site/modules/Pages2Pdf/Pages2Pdf.module) I had to detach the template in question in Pages2Pdf settings. Then it worked and I was able to delete the pages. Same error with a ListerPro Action(Delete), so I asume it's a problem with Pages2Pdf... PW 3.0.62 Pages2Pdf 1.1.7
    1 point
  9. Hello, today I want to introduce you to a php honeypot class that I have implemented to my forms to prevent form submissions via spam bots: https://github.com/dominiquevienne/honeypot The class creates a honeypot and a token field. It checks for time from page rendering to form submission correct token filled in honepot field failure attempts All settings can be changed via a config array (fe set min time until form submission to 5 seconds, if the form will be submitted faster it must be a spam bot,...). Just take a look at the documentation and maybe its interesting for you. Best regards
    1 point
  10. ok great, i'm hoping to test the changes and push the update to the module next week..
    1 point
  11. As I am writing the documentation, if you guys have already some questions before I release the module, I will be happy to hear and include them in the FAQ
    1 point
  12. Hi @ryan, I just wanted to say thank you for the fantastic updates you've included. I recently had to export/import some pages from prod to dev for testing using the new module, and it all seemed to work magically. Great job! I'm looking forward to using this more.
    1 point
  13. Now, the "package manager"; From this window, you can create or delete a package, and also download a packages from the "server backups folder" to your computer. But the best feature is that you can "sync" packages stored on a third-party provider. This mean that the module will check for existing packages on GoogleDrive, Dropbox or whatever (it depend on how you configured Duplicator) and list them so you can delete or download them to your computer, and deploy your nice website in a minute! In the following example, I have packages on my Local Server, on GoogleDrive and Dropbox :
    1 point
  14. The module got renamed and updated a bit as its not intended to run only on the backend, but work also on frontend side. - Now, the administrator can choose to activate or not the backend login buttons. - The providers are added "dynamically". You have to simply edit a JSON config file which once saved, will show the required fields in the module settings. For example the following JSON config will only provide Google as login provider : { "providers": { "google": { "className": "Google", "packageName": "league/oauth2-google", "helpUrl": "https://console.developers.google.com/apis/credentials" } } } Small note for pw users : If like me you did not know, there is another module that manages OAuth2 authentication. Feel free to use the one which suit your needs! more info there: @jmartsch you should create a new module thread
    1 point
×
×
  • Create New...