Giter Club home page Giter Club logo

batchchildeditor's People

Contributors

adrianbj avatar mestaritonttu avatar mr-fan avatar rolandtoth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

batchchildeditor's Issues

Edit Tab: Critical Bug — title values are not escaped!

$cp->title needs to be escaped with htmlspecialchars($cp->title)

BatchChildEditor.module, line 757:

<input id="'.$cp->id.'" type="text" name="individualChildTitles['.$cp->id.']" value="'.$cp->title.'" style="width:100%" '. (!$cp->editable() ? " readonly" : "") . ' />

— this messed up some of my pages that has quotes in the title!

Lister mode doesn't work

I've installed Lister Pro module, my goal is to batch edit listed pages.
However Auto Page Rename module doesn't play nicely with Lister Pro, so I decided to try BatchChildEditor in Lister mode..
I read here that if I have Lister Pro, I'm able to edit inline the pages in this mode. https://devhub.io/repos/adrianbj-BatchChildEditor
I can't, I get this error:

image

jQuery.fn.size() is deprecated

Hi, Adrian! In BatchChildEditor.js you are using jQuery.size(). It's deprecated in jQuery 1.8 and on, so perhaps use the .length property? And also .load() handler - use .on('load', handler)

Feature Request: Resolve internal values on CSV-Export

Hi, first. thanks for that nice module!

I have a feature request for the CSV-Export: At the moment, only internal values are exported. This makes sense for usecases, where they are to be imported back to a PW-instance with the same template. But for other usecases, it doesn't. We have a place database and want to export the places to be used within other software. But the export only uses the internal values of ProcessWire like the ID of the select option for a select field instead of its readable representation. So I have to give along a detailed legend for what all those integers stand for and someone has to normalize the data within the CSV before it can be processed. And that legend approach doesn't work at all for related pages, where I need the page's title field to be exported instead its id.

So what I basically want is that I can choose if I want to export the human readable values of the fields or their internal numeric value:

"Place category";Title;"Furnishing type"
2;"03.2.003 Classroom";2
1;"03.2.004 Auditorium";1

"Place category";Title;"Furnishing type"
"Classroom";"03.2.003 Classroom";"desks and chairs"
"Auditorium";"03.2.004 Auditorium";"fixed seats"

I had expected the "Turns on output formatting for exported values." setting to switch between the variants, but in my case both export the same.

Notice: Trying to get property of non-object

Notice: Trying to get property of non-object in /…/modules/BatchChildEditor.module on line 860

I'm getting this error when editing pages that have children without title field. Should by simple to fix with some conditioning. So title should not be expected as default on every page because it can be removed from templates.

Edit Mode needs grid lines

When in edit mode, I think it would be beneficial to include some styling that adds grid row lines to match the look of the Lister Mode.

Here is how it looks without the lines:
image

Here is how it looks with the lines:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.