-
Posts
10,912 -
Joined
-
Last visited
-
Days Won
349
Everything posted by adrian
-
A little self promotion here BatchChildEditor gives you an alternate interface that allows for very quick deletion of multiple pages. It may or may not suit your needs. Those delete buttons are toggles that mark the page for deletion, but the user still has to click Save to process the deletions, so this makes it pretty good at preventing accidental deletions.
- 12 replies
-
- 4
-
- trash icon
- delete page
-
(and 1 more)
Tagged with:
-
Thanks for the details. I think it must be a combination of the number in the page name and the "Rename on Save" setting. I am glad the custom ### option fixes it for you though I still can't reproduce it here though, so just curious, what version of PW and CUN are you running?
-
Hi Alexander, I just tried to replicate here and can't seem to. Could you maybe post some screenshots of your CUN settings and also the tree of pages. Or better yet can you set up an example on lightning.pw so I can see the issue in action?
-
I wonder if the easiest way might be with kongondo's brand new module: https://processwire.com/talk/topic/10804-module-runtimemarkup-fieldtype-inputfield/
-
BTW - in case you aren't already, you might want to consider adding the ForcePasswordChange module: http://modules.processwire.com/modules/password-force-change/ This helps to reduce the security issues associated with emailing a password. The user will be required to change their password when they first login.
-
Great - glad to hear you got everything working. I am super busy here at the moment and don't have time right now to see if there would be a simple way to remove the need for a blank "pass" column in the CSV field, but I don't think it matters so long as anyone attempting this knows it is required.
-
Hi Ivan, I am still half asleep, so might be completely off here, but you are doing a removeAll on "chalet_dining" - given that, should you be doing: $_page->chalet_dining->add($item); rather than: $_page->pagearray->add($item);
-
Hi @ZGD and welcome to the forums! Sorry you are having troubles with this module. It does sound like a very weird situation indeed. Can you please confirm that the from email address is correctly filled out in the module config settings, like so: If it is, could you try an: error_log($this->data['fromEmail']); just after line 141 and see what it returns.
-
@iNoize, Looking at your code, you are loading: EmailAdminNewUser rather than EmailNewUser. So, you are not using this module at all, but rather a module written by @Beluga - https://processwire.com/talk/topic/9811-frontenduser-login-logout-and-register-users-members/?p=101533 So I am afraid you will need to ask him about it.
-
Great find horst - I am most excited by the ability to save metadata. This has always annoyed me with PNGs in PS.
-
Thanks kongondo - I saw all those posted issues! I haven't thought about the issues involved in making append work, but I do think it is pretty critical functionality. Currently unintentional data loss is very possible and I would assume that append was actually the default behavior. Thanks very much for looking into the custom PHP code option!
-
@uiui - Sorry you are having troubles. I just tested and the only allowed filetype is mp4 (which is correct). I am wondering if perhaps you converted an existing files field to a video field? If so you will need to manually change the valid file extensions on the Details tab. Either that or add a new Video field from scratch. Please let me know if that takes care of things for you. Also, please note that the built-in ->play() uses the Sublime video player which is no longer available. At some point I may add built-in support for another (or several) players, but for the moment you will need to provide the player for the front-end yourself. I like http://mediaelementjs.com/ but there are lots of others.
-
Have a read of this page: http://processwire.com/docs/security/file-permissions/ It tells you what parts of your site should have what permissions. chmod and chown are the commands you are looking for, but depending on your website you can probably adjust these through some sort of graphical user interface as well.
-
What version of PW are you running? This was supposed to be fixed a while ago - https://github.com/ryancramerdesign/ProcessWire/issues/957 Take a look through that Github issue and if your version is after that fix, then maybe add a comment to the issue saying you still have an issue. To fix your current problem, it should just be a matter of creating that "name1082" field in the pages database. You should be able to do that easily via PHPMyAdmin. If you are worried, make a database backup first. Hope that helps!
-
Sorry for the delay - while I was out for dinner I realized exactly what the issue was - I needed the fieldName sanitizer, not pageName. Not sure why it worked before - I guess 2.6.14 enforced no dashes in fieldset names? Anyway, it is fixed now on the dev branch. if you don't want to switch to the dev branch at the moment, here are the changes you need: https://github.com/adrianbj/BatchChildEditor/commit/f1721794a77c1b6dfebcae692485f41ee0df75ea#diff-b79b82291600910335909ae234e40fdb
-
Not sure exactly what changed just yet, but it works for me so long as the Tab / fieldset name is only one word. Not sure if it's a bug that Ryan introduced or what, but if you use a multi word name, I run it through the PageName sanitizer and now it breaks the tab. Will investigate further later, but for now, one word names should work fine.
-
Don't ba amberressad - it heppans to avaryona, avan us netiva Anglish spaekars
-
Something else I am going to need shortly is the ability to check whether the CSV import appends rows, or overwrites - I actually haven't tested - does it currently append, or overwrite? Maybe if append, then it's ok because you can use the "Reset" to clear and then it is effectively an overwrite. Also, the ability to export to CSV would be very handy - it would be much easier to make major edits via Excel and then import when done. Just some ideas for when you're bored, although I might need these sooner than later - if so I'll send you a PR.
-
Hey kongondo - I know you are super-busy at the moment, but I actually have a use case where it would be much easier if it did store empty values. Because I am foreaching through column names I actually ended up having to put "ND" (for No Data) in the cells to get the desired result. This isn't a huge problem because I control the data going into the Matrix tables, but I think it might be a nice option to have. Thanks!
-
Thanks for the advertisement @mr-fan. Just to let you guys know here, the dev version of this module actually has a new "Lister" mode that works without ListerPro and allows you to embed a customized Lister into the editing interface for any page on your site.
- 24 replies
-
- 6
-
- draft
- Pro-Modules
-
(and 3 more)
Tagged with:
-
Thanks for reminding me why I didn't use filesizeStr
-
I forgot about that - should have remembered there was something built in
-
I am sure Wanze will be able to offer up a solution to get the filesize from the path. I just wanted to chime in with a nice function for converting to human readable filesizes: http://jeffreysambells.com/2012/10/25/human-readable-filesize-php function human_filesize($bytes, $decimals = 2) { $size = array('B','kB','MB','GB','TB','PB','EB','ZB','YB'); $factor = floor((strlen($bytes) - 1) / 3); return sprintf("%.{$decimals}f", $bytes / pow(1024, $factor)) . @$size[$factor]; }
-
I was a DirectoryOpus fan on Windows, and while I agree that Forklift doesn't have anywhere near as many config options, what it does, it does mostly very well and it has everything I need. It is not perfect but, in hindsight, DOpus almost has too many options. Each to his own right
-
Ionic is great and can work very nicely with ajax calls to a PW db and allows for iOS and Android development together with cordova. If you don't like angularjs (integral to ionic), take a look at famo.us or React Native.