Coder Social home page Coder Social logo

pragmaapps / advanced-pods-bulk-action Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 8 KB

This WordPress plugin modifies Pods UI to allow marking bulk items on several pages and uses POST instead of GET to avoid the "too long URI" issue.

License: GNU Lesser General Public License v3.0

PHP 57.76% JavaScript 42.24%

advanced-pods-bulk-action's Introduction

advanced-pods-bulk-action

This WordPress plugin modifies Pods UI to allow marking bulk items on several pages and uses POST instead of GET to avoid the "too long URI" issue.

Motivation for this plugin

Pods is a powerful framework that transforms WordPress to a full blown CMS. Pods also provides an administration UI that allows you to manage these objects or "pods". However the bulk actions have a drawback, all the item ids are sent via HTTP GET. This works for many cases, specially when you are not displaying too many items in a single page, and when you want the bulk action to only be limited to items on that page. But what if you want to delete all items in all pages ? Or you need a bulk action that exports all the items to a CSV or PDF ? This plugin solves these cases.

Installation

Just download the Zip file from our github repo and upload the plugin to your WordPress installation either using the WordPress Dashboard or by unzipping the file in your plugins directory. Activate the plugin and you are good to go

Usage

After activation the plugin changes the form submission to HTTP POST and also starts tracking the checked items in session. So you can move from page to page, mark items and then select a bulk action and click "Apply". The action will happen on all selected items. Doing a new search or clicking on the WordPress menu to display all items clears the items from session.

Advanced Usage

The plugin works seamlessly with any custom bulk actions that you have developed for the pods. No code changes are needed.

advanced-pods-bulk-action's People

Contributors

abhinav-maheshwari avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.