-
Posts
7,529 -
Joined
-
Last visited
-
Days Won
160
Everything posted by kongondo
-
Prevent encoding when using $input->queryString??
kongondo replied to Vigilante's topic in General Support
Just wondering, are you sure it is not your browser doing the encoding? $input->queryString() returns the unsanitized query string. -
It could work. However, using this approach, how do you prevent direct access to the content? I.e., if a non-group member guessed the URL to content that is not part of his/her group, they will be able to see that content, no?
-
Welcome to the forums @eutervogel. I have no idea why the sessions are disappearing. Sessions should also work for guest (aka not logged in users). Just want to suggest an alternative; cookies? Also, is it necessary to conditionally load the grid versus stripe views? Sometimes I find it easier to just load both views and using CSS and JS hide/show the views as per user request.
-
Roles Permissions Users Login Each group with a parent page. Content posted are children of these parent pages Group parent pages with template-level access that cascade down to the child pages (posted content) Frontend editing? These are the basics. Depending on the complexity (e.g. are there sub-groups; can a member belong to more than one group, who is posting the group content, etc), your mileage may vary... Just my 2p.
-
Sounds like a nice module to make...extend System Notifications, working in conjunction with Wire Cache and some Process module. Maybe we already have something like this? I can't barely keep up these days .
-
Not exactly a 'queue for 7 days'...but see this. We also have the module PulsewayPush that may be of interest to you ps: I have moved your topic to the General Support forums. The module's forum is only for support of existing modules (in their respective threads where possible)
-
Different sorting results find() vs. sort() - why?
kongondo replied to titanium's topic in API & Templates
I have not checked their inner workings, but the sort in A is done at the database level (SQL) whilst the sort in B is done at an in-memoy level (PHP). Maybe this difference has a bearing on the sorted results. -
Hi @Claus, I've now implemented this in Blog version 2.4.2. Pass the options available in Comments Form as part of the third parameter in Blog's renderComments(). E.g. $blog = $modules->get("MarkupBlog"); $presets = array('cite'=>'Your Name', 'email'=>'Your Email'); $options = array('headline'=> 'Say something', 'presets'=> $presets, 'presetsEditable' => true); echo $blog->renderComments($page->blog_comments, 0, $options);
-
Hi Jeff. I've not encountered this issue. Could you please test the latest (2.4.2) version and let me know if it resolves your issue? What version of PHP are you running? Thanks.
-
Update: Blog 2.4.2 As of today and this version onward, ONLY ProcessWire 3.x is supported. Changelog Support for namespaced ProcessWire only (ProcessWire 3.x). All ProcessWire Comments Form Options can now be passed as as options to renderComments(). See the options here Available now in the modules directory. Please note that this version does not address any of the reported PHP 7.x issues.
-
Hi @zkriszti, Sorry for the very late response. I have not been able to replicate this. It works fine for me as you can see in the following screens Both <p> and <a> if allowed, pass through just fine. Without 'allowed tags' With 'allowed tags'
-
@Monty, Welcome to the forums Simon. I've merged your other thread here as your two threads are about the same thing.
-
For this, please ask in the Map Marker forums. As for user URL: What and where is this list? How is it generated? I am not suggesting that this is how you should do it, but the following thread is probably worth a read.
-
Apologies I've never gotten round to completing the documentation. Please see the options here. What you want is post_large_image and possible the other post_large_image_* options.
-
Preview/Discussion: RockDataTables
kongondo replied to bernhard's topic in Module/Plugin Development
No. I am using D3 itself. Early on, I researched quite a number of charting libraries (including all the usual suspects). I also looked at C3 (and similar). It is a wrapper around D3 to help you avoid the D3 learning curve. I decided to stick with D3 itself for a number of reasons. I didn't mind the D3 learning curve. In fact, I didn't find it as challenging as some sell it to be. No disrespect to C3 and maybe it is the ProcessWire in me but I wanted to get my hands dirty instead of being on the other side of some other library. Besides, if I was going to learn C3 API, I might as well learn D3. There's thousands of D3 examples with thousands of developers around the world using it. Whatever you want to do, there's a high likelihood that somebody else has already done it; So, there is already an existing solution to your problem . -
Preview/Discussion: RockDataTables
kongondo replied to bernhard's topic in Module/Plugin Development
Hi. Just so you know, I have been working (on the side, slow pace) on a free data visualisation module based on d3. It might or might not include a data cleanup tool (like Pivot Tables in Excel). It's a hobby project. Will this conflict with your plans for your datatables module? -
Try these http://processwire.com/api/modules/
-
OK, I see. Maybe you've already discussed this elsewhere. If that's the case, apologies. Why would you need to query 10,000 rows at the same time? I suppose because you want to cache the data to make subsequent fetching faster. However, wouldn't pagination work better in this case (if you were to use a $pages->find() with limit)? You could even combine that with incremental caching, both server and client-side if you wanted. If you don't want pagination, you also have virtual pagination or infinite scrolling. I am just thinking out loud here. I haven't tested your datatables module yet. If I could avoid writing SQL queries myself, I'd go for it . Edit: I see you've already discussed this in your other module's thread. So, we better continue there.
-
Why is this the case?
-
Not on chrome. It is blocking the connection and tells me what I've quoted above. Hence, I am thinking if I migrate to SSL, Chrome will let me through. Thanks. I'll have a look. I haven't tried this. The issue is that I have been using the same .dev tld forever. This problem with Chrome just started this afternoon.
-
So, all of a sudden, Chrome is blocking all of my localhost sites, claiming my connection is not Private, blah blah..Here is the full text of what Chrome is telling me. I get no option to 'continue to this unsafe site'. It seems I have no option but to install SSL on my local sites. I have seen some articles on how easy it is to do in a Mac but I am on Windows. Anyone has pointers on how I can do this? Alternatively, anyone knows what this Chrome error is about? Bottom line is, unless I change browsers, I am not currently able to develop and test stuff locally. Grr! Thanks.
-
Nice one! So, it should be here next year..I suppose.
- 246 replies
-
- visual studio code
- vsc
-
(and 2 more)
Tagged with:
-
https://codepen.io/ginfuru/post/remote-editing-files-with-ssh https://marketplace.visualstudio.com/items?itemName=rafaelmaiolla.remote-vscode Nothing here in the Marketplace?
- 246 replies
-
- visual studio code
- vsc
-
(and 2 more)
Tagged with: