Recently Updated Topics

Showing topics posted in for the last 7 days.

This stream auto-updates     

  1. Past hour
  2. Did your router get and auto-update or something like that? Maybe one of the following settings is mis-configured. Safe-surf (child protection, adult filter) White-/Blacklist misconfiguration Are all devices in your network affected?
  3. Today
  4. Totally useful 👍 Thanks you !
  5. you are in a subfolder? you shouldn't have that /processwire-master/ part unless you are running in a subdir does your site load the same on www and non www? some hosts let you configure that settings at the hosting control panel, and then you can only use Let's Encrypt with the www subdomain, one example is Dreamhost.
  6. Yeah, I am not actually sure which I prefer at the moment - I think it depends on the complexity and also how well Ryan implemented __debugInfo() for the object type in question.
  7. Yesterday
  8. Thanks for the remainder @Robin S. I've replaced the character icon with an SVG. I've committed the changes, no version bump. Perhaps I would have used FontAwesome if it would have been possible to set it as a background-image but that's not the case. I've tried adding the SVG variant of the FA search icon but then searched for a slimmer one. There are only a few icons in AOS and I wouldn't like to increase the overall module size.
  9. Hi @BitPoet, if you've got a spare moment do you mind sharing what you've done? I am quite intrigued. (Perhaps in a separate thread and not hijack this one) When you say it's really fast, I assume you don't mean XDebug but some other methodology/tools for debugging.
  10. Thanks for the thread @Soma. One of the most important and cited ones in the whole forum history! In the original post there are a few points that seem to be not discussed later in the thread, but which are extremely interesting to me. 1. Are there any good examples of those to dig into? Gists maybe? 2. Looking here it seems arrays are not allowed. I might be not understanding it right or things might change since when it was written. Is there actually a way to process input from a page or an array? 3. There was already a question about what kind of validation processInput does and @adrian's answer too. I read the code a few times but still not sure should I sanitize values after processInput before saving to page fields or not. Is it necessary? Thanks again! Learning ProcessWire is still fun (or am I doing it too slow?!)
  11. @bernhard just liked the original post after a few days passed, and I got notified. So decided to put a little update here. There are actually some web-design related thing I learned from this situation: Do not rely on cdn's for jquery, fonts and stuff. Opera actually is not that useless browser, as it has Turbo Mode. Thanks for support!
  12. All of a sudden, with nothing changed on the database or server, a website was getting error when doing a search: Error: Exception: SQLSTATE[HY000]: General error: 23 Out of resources when opening file './your-database-name/pages_parents.MYD' (Errcode: 24 - Too many open files) (in /home/forge/example.com/public/wire/core/PageFinder.php line 413) #0 /home/forge/example.com/public/wire/core/Wire.php(386): ProcessWire\PageFinder->___find(Object(ProcessWire\Selectors), Array) #1 /home/forge/example.com/public/wire/core/WireHooks.php(723): ProcessWire\Wire->_callMethod('___find', Array) #2 /home/forge/example.com/public/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\PageFinder), 'find', Array) #3 /home/forge/example.com/public/wire/core/PagesLoader.php(248): ProcessWire\Wire->__call('find', Array) #4 /home/forge/example.com/public/wire/core/Pages.php(232): ProcessWire\PagesLoader->find('title~=EAP, lim...', Array) #5 /home/forge/example.com/public/wire/core/Wire.php(383): ProcessWire\Pages->___find('title~=EAP, lim...') #6 /home/forge/example.com/public/wire This error message was shown because: you are logged in as a Superuser. Error has been logged. I tried several things, listed in this thread: https://serverfault.com/questions/791729/ubuntu-16-04-server-mysql-open-file-limit-wont-go-higher-than-65536 But for some reason, MySQL was not getting its limit increased, but in the end, the one that did the trick was this: This worked for me on Ubuntu Xenial 16.04: Create the dir /etc/systemd/system/mysql.service.d Put in /etc/systemd/system/mysql.service.d/override.conf: [Service] LimitNOFILE=1024000 Now execute systemctl daemon-reload systemctl restart mysql.service Yes indeed, LimitNOFILE=infinity actually seems to set it to 65536. You can validate the above after starting MySQL by doing: cat /proc/$(pgrep mysql)/limits | grep files
  13. Who will use these data entries? What will happen with all these data entries? How many data entries will there be each minute/hour/day/week? How long will they be stored? Will they be archived/deleted? Will someone create charts from it? Will they be exported to another programm/system? Will there be JSON/XML/RSS exports/strems/feeds or even an API? Will ProcessWire provide those access details for each dongle/user/door? There are so many best ways to go depending these paramters and variables.
  14. @gmclelland I overlooked the version numbers, thank you!
  15. Thanks a lot!!! I will try it out!
  16. I am using a options with in repeater as below. Repeater is: normal_days Options field inside repeater is : tables Options are: table 1, table 2, table 3 To display them in front end I am using loop as below.But this display the values 3 times (like table 1, table 2, table 3, table 1, table 2, table 3, table 1, table 2, table 3) foreach ($page->normal_days as $normal_day) { foreach ($normal_day->tables as $table) { echo $table->title.","; } } Please suggest how can I fetch this Thanks
  17. Has anyone any experience making a dynamic hours booking calendar: person visits site and can see a calendar with available hours marked as taken and others as free person clicks number of hour and is allowed to fill a form to book the timing like: 6:17pm - 10:67-pm Any comments most appreciated,
  18. I'm getting timed out errors when I try to install modules or check for updates. I'm fairly certain the problem is that the host that i'm on uses a proxy for external http requests. Is there a setting somewhere like the following in wordpress? (I'm already prettty sure there isn't) define('WP_PROXY_HOST', 'proxy.domain.com'); define('WP_PROXY_PORT', '8080'); I tried adding : 'proxy' => 'tcp://proxy.domain.com:8080', 'request_fulluri' => true to the $options in the send() function in WireHttp. This makes the update check work but the download still fails. Any help?
  19. This one also is very cool: https://codyhouse.co/
  20. Hi @Wanze I don't know if it's possible in the current state of the module to disable "Global File Template" for a given template file. I needed this feature in order to work with a REST API endpoint. The problem is when I try to get JSON data from http://my.sites.sek/api, the markup of the global template file is sent. I forked your module and added an option to ignore the global template file on given template. If it make sense, I can send a pull request.
  21. Maybe have a look here: https://github.com/processwire/processwire-issues/issues/409 (1st reply - array_merge)
  22. This is working.Thanks!
  23. Thanks for pointing this out - I'd forgotten about that issue. Unfortunately I have a lot of code and a lot of Page Reference fields that rely on single page / null so I am hesitant to change at this point in the project. I am testing your other solution though and so far so good
  24. Hi all - I have started a new 3.0 branch which has some more breaking changes. This new version moves the country code into it's own "data_country" database field and stores a raw version of the number in the default "data" field. The reason for this is to make it possible to do a: $pages->find("phone=13727654876") Before you could only find by component parts, like: $pages->find("phone.country=1, phone.are_code=372, phone.number=7654876") My need for this was to find a user by their full raw/unformatted phone number as returned by the Twilio sms service's POST response. I'll keep the changes in this branch for a while, but I would encourage new installs to try this version. Let me know how it goes.
  25. Last week
  26. I've added a new filter called replacesubs that allows adding placeholders in format ((name)) to fields, and then use an array or a textarea content to fill them with values. You can apply it to a field content and all available placeholders will be replaced. Unlike getlines you can add new placeholders and data sources at any time, no need to touch the code. Plus you / your client can add HTML and formatting to them in the CKEditor.
  27. Hi @harmvandeven, OK. Makes sense. It doesn't sound too difficult given the Vimeo/YT API. I'm thinking we'll add a setting in MM for users to indicate whether they'll want to view/manage online content such as YouTube. We'll create a list for this but currently, support only YT and Vimeo. Later, we could expand this to include other media sources. We can add the input to the upload screen as a third tab (only visible if users indicate they'll want to view/manager online content such as Vimeo). So, Add / Scan / Online (or Other or something appropriate) - I'll be removing the 'Help' tab. With good documentation, we don't need it. I'll be working on the docs once version 012 is in beta testing. We'll also have an input for the media Title. We'll either reuse the file field that video media use to store the image or copy and reuse the image field that image media use in the video media templates. We'll use an InputfieldTextarea field to store the embed code and other data. We can just reuse the Textarea field we use for MM settings - copy that to the video template. Again, this field will only be added to the video template if online content feature will be used. For the frontend, we'll have video media return a property with the data required for video output. I think that should cover it. OK. I'll have a look.
  28. I was overriding the css incorrectly I guess the first time (was trying to use add/removeClass). Using $form->setClasses(array('form'=>'uk-form-horizontal InputfieldForm')); did the trick.
  29. In your example @JoelB95, just use pw-before ... <div pw-before="page-content"> <h1><?= 'BEFORE #page-content' ?></h1> </div> <div id="page-content"> <h1><?=$page->title?></h1> Overview page </div> <div pw-after="page-content"> <h1><?= 'AFTER #page-content' ?></h1> </div>
  1. Load more activity