-
Posts
7,479 -
Joined
-
Last visited
-
Days Won
146
Everything posted by kongondo
-
Is there a limit on the number of users within PW ?
kongondo replied to Doc's topic in General Support
Users are 'just' pages. Looking at the 'pages' table structure/schema, the id column is of type INT unsigned. So, unless you will have more than 4,294,967,295 pages in your site, you will never experience any issue. https://dev.mysql.com/doc/refman/5.7/en/integer-types.html -
I'm hoping maximum 2 weeks, 3 at the most before an official release. It will be priced similar to my other modules (but could be subject to change). Thanks for your interest.
- 11 replies
-
Hi all, Quick update. I finished the first release of this module nearly two weeks ago. However, I have not yet had the time to finish the documentation and clean it up a bit nor produce a demo. I'll see if I can squeeze something in this week, but doubtful. Current features are: Fully integrated with Padloper! This was easier than expected. Thanks to Hooks, I didn't have to lift a finger. Please note that you will have to write the Hooks code yourself. We'll give you examples (very similar to this in Padloper docs). Dynamically add or remove subfields. Price is no longer the default; there is no default. When creating the a Variations field, you create the subfields/columns you want (e.g. Price, SKU, Remarks, Price 2, Discount Codes, whatever...! Attributes are created separately from the variations. For instance, you can create the attribute Colour and add as many colours to it as we you want. Colour will then be selectable (add one or all, remove one or all) when creating a variation configuration. Once you select colour, all the colours in it are auto-populated in a dropdown, ready for selection. This means that you can choose some colours for one product and choose different set of colours for another. The above will be clearer in the demo. Just wanted to let you know that this is ready....
- 11 replies
-
Guests should be able to upload. I am not sure what's happening in your case. Just to be sure, I've double checked in PW 2.7, 2.8 and 3. Guests (meaning frontend users not logged in [anonymous if you like]) can upload just fine. There's no issue with the module nor with ProcessWire (I believe) in this case . There's something else going on in your install I suspect. Some setting or hook or similar?
-
$page->children() unpublished pages are still shown ...
kongondo replied to jrtderonde's topic in API & Templates
I've tested in PW 3.0.42 and it works as expected. Unpublished pages are not returned, whether I am logged in as a superuser or not. Seems there's something else going on in your install. -
PW 3.0.56: core updates + Uikit admin theme updates
kongondo replied to ryan's topic in News & Announcements
Maybe I didn't get it but I think Ivan means 'bad' as in 'awesome!' . -
That's strange. Can you confirm your 'admin' user is a 'Superuser'? If they are, then you should have access to everything. You can use the API to change all sorts of things, including permissions.
- 2 replies
-
- 1
-
- permissions
- security
-
(and 1 more)
Tagged with:
-
I don't think you need to rename anything, although I haven't used phpDocumentor myself. I use apigen (as seen here). You can tell it in a configuration file what file extensions to parse. I see phpDocumentor has a similar feature as explained in its documentation here (see extensions). Meaning, something like below should work. <parser> <target>output</target> <encoding>utf8</encoding> <markers> <item>TODO</item> <item>FIXME</item> </markers> <extensions> <extension>php</extension> <extension>module</extension> </extensions> </parser>
-
Not sure I follow...yes, you can update by: Pointing to a URL (e.g. GitHub download link to the module) Uploading from a local folder... ProcessWire will then update it. Watch out for folder names though, sometimes the module can end up at 'ProcessMyModule' rather than 'MyModule'. In such cases you should get an error about 'cannot redeclare class...'
-
PW 3.0.50 markup regions + Front-End Editing : confict?
kongondo replied to palacios000's topic in General Support
Actually where you posted was fine. Irrespective, there's no need to double post please . Better to follow up on your original post after a while. I'm merging the threads. -
This should help you get rid of the 'annoyance'...
-
What Adrian said. You need &&. Try it, it will work . If page ID is not 1037 AND it is not 1038 AND it is not 1039.....
-
Take your pick .
-
Hahaha Ivan, you've made my day!
-
Seems your new server does not have the PHP extension DOMDocument installed. Ask your host to install it for you.
-
How do you deal with repeating editable page 'blocks' in PW?
kongondo replied to mikeuk's topic in General Support
Er, what previous topic? ...cross-referencing would help a bit here. -
Hi @MaryMatlow Glad you got it sorted. That's a core module, so check under core/modules/ in the modules page, specifically a process module called 'Comments'.
-
I am not saying it will work, but for starters, your selector operator is wrong: That should be: %=$q
-
Excellent. So, back to clueless, how exactly can we help? Which one to choose over the other? Which one is easier to use? Pros and Cons?
-
It would be good to reference here those different discussions and modules. Otherwise we might end up just repeating ourselves (talking about those different discussions).
-
$page->getArray() and field type Page references
kongondo replied to Mackski's topic in API & Templates
In ProcessWire 3.x (I think only 3?) you can use implode like so: $pageIDsString = $yourPageArray->implode('|', 'id'); //echo $pageIDsString;// returns 1234|2345|8976 etc.. You can choose your delimiter and the property to implode by. There's other interesting methods here. -
Hi @Nukro, Hmm, the default setting is to skip duplicate media. So, if media is being replaced the user must have set it so in the settings. A warning popup would just be an extra, to affirm what they've already set. I am not sure it will be easy/practical to implement since uploading is done via Ajax. I'll have a think. [Edit: should be easy enough as a checkbox to confirm before hitting upload ] By the way, I was not able to finish my write-up as promised in a previous post. I am determined to do this by the end of this week. Thanks for being patient with me.
-
That's the normal behaviour (guest is created user for pages created via API). Edit: Changing created user via API requires one more step. Have a look here onwards:
-
add a sql query to a pages->find() operation?
kongondo replied to bernhard's topic in General Support
There is actually, but can't remember the number Edit (not sure if still current; yep, still 500): -
Thanks for the info Mike. I've moved this to dev talk since the security issue pertains to a third-party software rather than ProcessWire itself.