-
Posts
7,529 -
Joined
-
Last visited
-
Days Won
160
Everything posted by kongondo
-
Announcing the current status, planned release, roadmap and preview of Padloper 2. Status Feature freeze. Full multilingual support. Only PHP 7.2+ supported. Support for ProcessWire 3.0 only. Backend support for modern browsers only (that support JavaScript ES6 modules). Current Work Finish work on admin/backend. Work on installer and uninstaller (including configurable availability of some features). Work on UI/UX improvements. Start work on documentation with special focus on technical documentation. Continue work on Padloper API and data/model component. Roadmap Please note that these ARE NOT hard and fast targets. The roadmap may have to be adjusted to accommodate technical and non-technical constraints. Q1 2021 Inbuilt support for (latest) PayPal (full rewrite, no external modules required). Additional work on Padloper API. Invite a limited number of early alpha testers (fully-priced product). Soft and closed release of Padloper 2. Q2 2021 Start work on relaunch of Padloper website. Inbuilt support for Stripe (no external modules required). Future Plans Support for more Payment Gateways. Support for order, customers, etc imports and exports. Support for AdminThemeReno and AdminThemeDefault. Separate fully-featured frontend shop module. Consider support for multiple currencies. FAQ 1. Have you abandoned this project? No. 2. When will Padloper 2 be released? First early alpha release is scheduled for Q1 2021. This target may change depending on circumstances! Access will be by invite only for this first release. 3. What is the pricing model of Padloper 2? Three licences: Single Site, Developer and Agency licences (12 months’ updates and VIP support). 4. How much will Padloper 2 Cost? No price has been set yet. It will cost more than Padloper 1. 5. Can we upgrade from Padloper 1? No. 6. Will existing users of Padloper 1 get a discount for Padloper 2? No, this will not be possible. Apologies for the earlier announcement. It was unrealistic and unworkable. 7. Can we pay for Padloper 2 in advance? No. 8. Does Padloper 2 render markup/templates in the frontend? No. Access to all data you need to build your shop’s frontend is via the Padloper API. 9. Can we keep sending you ‘Are we there yet’ messages? No, please. Preview Here is a video preview of the current state of the backend/admin of Padloper 2. Please note the following: This is early alpha. There are bugs! It even includes WIP/notes!! FOUC, misaligned things, etc. The video shows the near-raw implementation of Vuetify UI. The UI/UX improvements work is yet to start. What you see here is the development version. Some of the incomplete features may not be available in the early releases. Most of the features you see will be optional to install.
-
A number of previous topics that could get you started:
- 1 reply
-
- 1
-
-
- translation
- export
-
(and 3 more)
Tagged with:
-
ProcessWire .htaccess adding URL parameter to redirects
kongondo replied to FireWire's topic in General Support
The posts I have seen were from a while back when this module didn't support multi-language sites. Good to see that it now does ?- 15 replies
-
- multilanguage
- redirects
-
(and 2 more)
Tagged with:
-
Three possibilities Option One Copy the module to /site/modules/InputfieldPageTable/ ProcessWire will ask which version of the module to use, select yours Modify renderTableRow() as needed. You'll need JavaScript to help with the cloning (?). Option Two Hook after renderTable(). Grab the return string. Use regex to inject your markup. You'll need JavaScript to help with the cloning. Option Three A pure JavaScript solution to inject your markup. You will need ajax to create the pagetable item (a page). Just my 2p.
-
Module Module: Matrix Fieldtype & Inputfield
kongondo replied to kongondo's topic in Modules/Plugins
It seems you were talking about the frontend? I was talking about the backend ?. -
ProcessWire .htaccess adding URL parameter to redirects
kongondo replied to FireWire's topic in General Support
Brilliant! Glad it worked!- 15 replies
-
- multilanguage
- redirects
-
(and 2 more)
Tagged with:
-
ProcessWire .htaccess adding URL parameter to redirects
kongondo replied to FireWire's topic in General Support
Just that and the next two posts :-). - workaround in the 2nd post. I am afraid not. Nice site, btw ?.- 15 replies
-
- 1
-
-
- multilanguage
- redirects
-
(and 2 more)
Tagged with:
-
ProcessWire .htaccess adding URL parameter to redirects
kongondo replied to FireWire's topic in General Support
I see. No, it doesn't, although someone posted a workaround here, just FYI.- 15 replies
-
- 1
-
-
- multilanguage
- redirects
-
(and 2 more)
Tagged with:
-
ProcessWire .htaccess adding URL parameter to redirects
kongondo replied to FireWire's topic in General Support
Have you tried the module Jumplinks?- 15 replies
-
- multilanguage
- redirects
-
(and 2 more)
Tagged with:
-
Module Module: Matrix Fieldtype & Inputfield
kongondo replied to kongondo's topic in Modules/Plugins
Sorry for the late reply @Aleksey Popov, If you mean sort the displayed table on the fly, then that's not possible currently. If you mean one off sort for the field in respect to how it retrieves pages for building the rows of the matrix, then you do this in the field's settings. See the details tab when editing the field. For instance, if using a selector, you would do it as shown below: I hope this answers your question. If not, please let me know. -
That seems to be the case...
-
Tested and it works fine. As Robin S suggested above, you are probably logged in. Try in a different browser or in incognito.
-
OK. I'll see if I can replicate this on a new install.
-
Hi @douwe, Welcome to ProcessWire and the forums. Was this page created before or after you enabled $config->pagefileSecure? pagefileSecure only works for pages you created after you enabled it. I am not 100% sure the same constraint applies in the case of template-level secure files.
-
Hey folks, I love the discussion, but please, we are getting OT ?. This thread is for Tailwind CSS. Please open a separate topic (if one doesn't already exist) if you wish to discuss other frameworks. Thanks ?.
-
sanitizer: line() and lines() vs text() and textarea()
kongondo replied to DrQuincy's topic in Getting Started
I am not sure it can be any clearer than what is already stated in the respective documentation. $sanitizer line() (emphasis is mine). $sanitizer->lines(). -
Glad it works! There's more info here about double versus single quotes and use of backslash. I don't think there is, but then again I am not 100% up to date. Not necessarily the same thing but selectorValue() has this: You can also use this: Someone more knowledgeable could chime in here ?.
-
With the much improved docs, these days, this should not be your first point of call ?. Yes, this should be the first place you check. By default, yes. However, there are options to refine how the sanitizer should work. Did you have a look at the white/blacklist options? This works fine with a Textfield called bid with a value of $100. <?php namespace ProcessWire; $allow = ["$"]; $selector = $sanitizer->selectorValue("$100", ['whitelist' => $allow]); $bids = $pages->find("bid=$selector");
-
This is due to a backward incompatible change introduced in PHP 7.2. Line #341 of ProcessBatcher has this code: <?php namespace ProcessWire; if (!count($this->input->post->title)) { // code } That needs to be changed to ensure that the variable being counted ($input->post->title) is an array or a countable object. Best to send @Wanze a pull request.
-
One way to do it: <?php namespace ProcessWire; $checkedPagesCount = $pages->count("name_of_checkbox_field=1"); You might want to refine the selector, e.g. limit to a parent or template(s). untested. Edit I see @lokomotivan beat me to it ?.
-
Problems after hosting company upgraded to Debian 10
kongondo replied to caffeineben's topic in General Support
Maybe a file and directories ownership issue since you state that: I am assuming you have also tested with 'small sized' images. I would look into file and directories ownership first. The usual scenario is there is a www-data user and group. ProcessWire would belong to that group and will be able to write to /site/assets/files/. Have a look at this page to troubleshoot permission issues: https://processwire.com/docs/security/file-permissions/ Regarding this: It usually means PHP responded with a fatal (or other) error. If you have $config->debug = true, or better, have TracyDebugger installed, you will see the exact error the server returned. You can also see these in your sites error logs. The text of the the response breaks the JSON (malformed), hence the Unrecognized token.... This is the so-called 418 I'm a teapot response! ?.Basically, the server is saying you are asking it to do the impossible; brew coffee but it is a teapot! You can read more about it here https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418 and how an April Fool's joke turned into this status by reading here https://sitesdoneright.com/blog/2013/03/what-is-418-im-a-teapot-status-code-error . -
Touché! ?. In my own modules though, I am eliminating jQuery. Wherever possible I use vanilla JavaScript.
-
You will need to unlearn jQuery ?. There's a difference between an "error" and an "exception". I am guessing uikit is probably using fetch() internally? If using vanilla JS... TL;DR From the fetch() docs: To the solutions Handling Failed HTTP Responses With fetch() How to handle HTTP code 4xx responses in fetch api
-
Module Module: RuntimeMarkup Fieldtype & Inputfield
kongondo replied to kongondo's topic in Modules/Plugins
I can't remember if I ever tested this inside Lister but I doubt it will work. Lister retrieves values from the database. This field has no database table. I'll have a look if a workaround is possible but you might have to wait a long time. PRs welcome though :-).