Jump to content

adrian

PW-Moderators
  • Posts

    11,190
  • Joined

  • Last visited

  • Days Won

    372

Everything posted by adrian

  1. 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!
  2. 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
  3. 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.
  4. Don't ba amberressad - it heppans to avaryona, avan us netiva Anglish spaekars
  5. 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.
  6. 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!
  7. 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.
  8. Thanks for reminding me why I didn't use filesizeStr
  9. I forgot about that - should have remembered there was something built in
  10. 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]; }
  11. 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
  12. 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.
  13. adrian

    Ohmspeaker.com

    Very nice - love the filter tool! Also - great to see the mention of PW on the credits page: http://ohmspeaker.com/credits/ Just one quick thing - the link to badasstheme.com on that page is broken.
  14. Ok, just pushed a new version to dev that adds support for choosing an alternate Parent. This allows you to bring in child pages from any other parent in the page tree (like I mentioned in my previous post above). It's a new option under the Content / Deletion / Protection tab - obviously only available for page specific config settings. Also added an option to determine whether Filters/Columns/Actions are available in Lister mode - checkbox under the Lister mode settings tab. This version might require a little extra testing regarding allowed templates for editing/adding pages. Please let me know how it goes.
  15. What version of PW are you running? I don't see a numChildren() of line 754 on either 2.6.1 stable or the latest dev.
  16. @mr-fan - thanks for the great feedback, testing, and the PR for language labels. Yep - I think the issue with the Lister view not working when there is an images field selected is a problem with PW dev / Lister I don't quite understand the Normal/Ajax load problem (I am sure I am missing something obvious so will look better later to see if I can figure out why that needs to be an available option when Open is checked. Yep - I was planning on making the Lister EDIT mode configurable to include the modal option, but there is something stopping it from working properly in modal mode - I think it's because Lister is in an iframe, but I will look again and see if I can get it to work - it would be much nicer for times when inline/ajax editing is not enough (or the user doesn't have ListerPro). I am also thinking of making it possible to choose a different parent (or maybe even use a full PW selector) so you can make BCE grab children from somewhere else in the page tree - I think this would only work for Lister, Edit, and Export modes, but could be very cool - kinda like the ability of PageTable to specify a different parent, but even more powerful. I'll hopefully play with this in the next few days and post a new dev version then.
  17. Sorry for the stream of updates, but you can now embed BCE into the flow of fields within the Content Tab. This makes for even easier access to inline ajax editing of child pages. It probably only makes sense for Lister, Edit, and Export modes. Just pushed this option to the dev branch.
  18. Thanks @mr-fan! I just put together another screenshot showing how you can use BCE as the equivalent of an inline PageTable field interface. Obviously these are just child pages and are not callable from a field, but it provides an excellent editing interface in a dedicated tab along with all the filtering options of lister. It also doesn't have any of the problems with a PageTable field regarding editing the content page directly and not having new pages automatically added, etc. The inline ajax editing is also a great bonus over the popup modal editing. Of course, this inline editing requires ListerPro, but I think it is worth it
  19. Forklift is my tool of choice - great FTP client and more importantly for me, a really nice dual pane Finder replacement which I can't live without!
  20. Just added some new features and a couple of bug fixes to the dev branch. Fixes for export mode with certain complex field types Added support for AJAX loading of BCE - especially useful if you are using the "New Tab" position option - requires PW 2.6.11+. This will make Page -> Edit load much quicker when you have lots of child pages. New Lister mode - this allows you to view (and configure the default columns/filters) all children under the current page. If you have ListerPro installed you can also use the Actions on the children. This also supports inline editing which makes for a very quick and easy way to edit the key fields on each child page. Please let me know how the new AJAX load and Lister mode features work for you - I think I need some wider testing before pushing this to the master branch. You can define the Lister config settings sitewide, and then provide overrides for each parent page that has been enabled under "Configurable Pages" This screenshot shows the new Lister mode configured to show a predefined set of columns - a great way to preview the page content of child pages. This shows the Lister Inline Edit mode - making for very quick editing of key fields in child pages.
  21. The issue is the empty <i> tag. You could try: <i class="krown-icon-bubble" style="color:#e64d36"> </i> Otherwise, the recommended approach seems to be this setting: // allow i tags to be empty (for font awesome) CKEDITOR.dtd.$removeEmpty['i'] = false
  22. Three free modules that might be useful (to varying degrees) for your request to be able to preview changes: http://modules.processwire.com/modules/process-page-draft/ http://modules.processwire.com/modules/process-preview/ http://modules.processwire.com/modules/process-textarea-preview/
  23. Ok, it should be fixed in the latest version. This fix is only needed for PW 2.6.6+ but I think it should also work fine on older versions.
  24. Actually the issue is not what I thought - it is a recent PW dev problem. I checked a PW 2.6.1 stable site and it works fine. I am not sure what has changed in PW dev to cause this - I will need to investigate further - hopefully I can find some time in the next few days to figure it out. EDIT: This is the PW commit that breaks things: https://github.com/ryancramerdesign/ProcessWire/commit/fd719abc6ad4dc12792592b6715f986d29af2625
  25. Sorry about this Charles - I'll take a look a little later today or maybe tomorrow - I had a similar issue with CustomUploadNames which actually stole the "Add Category" code from this module. I'll probably just need to make the same changes I made to that, so should be a fairly easy fix.
×
×
  • Create New...