Free WordPress Gravity Forms Sticky List pluginFree

1 330 websitesFree WordPress Gravity Forms Sticky List plugin by 13pixar

Sticky List

Sticky List is an add-on for the WordPress plugin Gravity Forms that lets you list and edit entries from the front end. You can display a list on the front end where users can view, delete and edit submitted entries.

New Features

  • Download entries as PDF (requires Gravity PDF)
  • Added support for “limit entries” and “No Duplicates”

All Features

  • Display a list of entries on the front end
  • Choose who can se the list; specific role, entry creator, all logged in users or anyone.
  • Support for (almost) all Gravity Forms fields
  • Create/edit/delete WordPress posts from the front end
  • Conditional logic support
  • View, edit and delete existing entries from the front-end
  • Download entries as PDF (requires Gravity PDF)
  • Use existing entries as templates for duplication
  • Conditional notifications
  • Conditional confirmations
  • List sorting and search (using list.js)
  • List pagination
  • Custom column labels
  • Multiple lists in same page or post
  • Mark entries as read when viewed or edited on frontend
  • Fully compatible with Gravity Forms “limit entries” and “No Duplicates” features
  • Uses new Gravity Forms API and the official Gravity Forms Add-on framework
  • Fully customizable with dead simple styles to override
  • Fully localized. You can add your translation
  • Fully supported and maintained
  • Completely free and open source

Planned features

  • Log deletes, edits and views
  • Graphic shortcode builder
  • Export list to .csv from front end
  • Abillity to control ALL settings from within the shortcode
  • Support for multiple uploads in file field
  • Support for full multi page forms

Usage

  1. Upload and activate the plugin
  2. Go to the settings page of a form and click the Sticky List settings tab
  3. Enable Sticky List for that form and choose your settings
  4. Select the page/post where the form is embedded
  5. Go to the form editor and select what fields should be displayed in the list
  6. Put the shortcode in a page/post with the corresponding form id, i.e: [stickylist id="1"]

If you want to display entries only from a specific user you can include the user ID like so:

[stickylist id="1" user="5"]

To use this in a template file, for example on the user profile page (make user that the variable $user_id holds the ID of the user who’s profile is being viewed):

echo do_shortcode( "[stickylist id='1' user='" . $user_id . "']");

If you want to use the list on different pages and restrict viewing of entries to different groups you can include the showto parameter in the shot code. This parameter has three possible settings: creator, loggedin or everyone.

[stickylist id="1" user="5" showto="creator"]

If you want to filter out some entries depending on a value of a field you can use the attributes field and value like so:

[stickylist id="1" field="5" value="Test"]

The shortcode above would produce a list that only contained entries where the field with an ID of 5 had a value of “Test”. You can check all field ID’s in the form editor.

List and edit Gravity Form entries on the front end

Front end editing of entries has always been a problem in Gravity Forms. Solutions that exist are buggy and not very feature rich. Gravity Forms Sticky List aims to fill this gap and provide a simple and solid way to view, edit and delete entry submissions from the front end. The goal of the plugin is not to to display entries in a fancy way (GravityView already does that brilliantly) but to provide a simple, lightweight and rock solid way to list, edit and delete submissions on the front-end. Lists can be embedded in any post or page.

Delete Gravity Form submissions from front end

Gravity Forms Sticky List uses a simple ajax approach to deleting entries. Deleted entries are moved to trash or permanently deleted depending on the per form settings.

Create, edit and delete WordPress posts on the front end

If you attach a Post Field to your form you can use Sticky List to let your users create, edit and delete WordPress posts from the front end. This makes Gravity Forms more powerful and allows you to create all sorts of features for your users.

List entries from a specific user

You can use the list to display entries from a specified user. This is helpful when building for example a user profile and are looking to display that user’s submissions on the front end at his or hers profile page. Se the usage section form more info.

Sort and search entries

Sticky List uses the fast and lightweight list.js to allow for sorting the list and searching the entries. Searching entries is fast and results are updated immediately.

GET request support

You can enable GET requests to link directly to entries that you want to view or edit, like so:
www.domain.com/some-page-with-form/?mode=edit&edit_id=99

Conditional confirmations and notifications

Gravity Forms Sticky List adds conditional confirmations and notifications so that different confirmations messages can be shown depending on if a new entry was submitted or if an existing entry was updated, and diffrent email notifications can be sent if an entry was added, updated or deleted.

Styling the list

Sticky List ships with a minimal stylesheet that is easy to override. The table has the class of .sticky-list attached to it which can be used to override the default styles. The stylesheet is located in sticky-list/css/sticky-list_styles.css in the plugins main directory. To override a style just copy it from sticky-list_styles.css and paste it in your themes css-file, then modify the style to your liking.

To style the View, Edit, Delete, Post, and Duplicate links you can use these CSS classes:

.sticky-list-view
.sticky-list-edit
.sticky-list-delete
.sticky-list-postlink
.sticky-list-duplicate

To style read and unread entries in the list you can use these CSS classes

.is_read
.not_read

Custom capabilities

Sticky List adds two capabilities that can be used to allow users to edit and delete entries in the list. These are stickylist_edit_entries and stickylist_delete_entries. Users/roles with these capabilities will be able to edit/delete entries in the list.

Developers

Avalible filters
The filter filter_entries allows for filtering of the entries in the list.
Paramters: $entries (array of entry objects)

Example
This code (when placed in functions.php) would filter out all entries where field ID 1 equals “some-text”

add_filter('filter_entries','hide_some_rows' );
function hide_some_rows($entries) {
    foreach ($entries as $entryKey => $entryValue) {
        if ($entryValue["1"] == "some-text") {
            unset($entries[$entryKey]);
        }
    }
    return $entries;
}

Avalible actions
The action stickylist_entry_edited fires after an entry has been edited.
Paramters: $old_entry, $new_entry (entry objects)

Example
Use this to perform acions after an entry has been edited.

add_action('stickylist_entry_edited','my_entry_edited_function', 10, 2 );
function my_entry_edited_function($old_entry, $new_entry) {
    // Do something
}

The action stickylist_entry_deleted fires after an entry has been deleted.
Paramters: $entry (entry object)

Example
Use this to perform acions after an entry has been edited.

add_action('stickylist_entry_deleted','my_entry_deleted_function', 10, 1 );
function my_entry_deleted_function($old_entry, $new_entry) {
    // Do something
}

Documentation
There is a fully documented version of the plugin on the Github project page. This plugin is Open Source and pull requests are welcome.

Note: Gravity Forms version 1.8.19.2+ is required for this plugin.

Known issues

Multi page file uploads
In multi page forms, file uploads must be on the last page to be editable.

Multiple file uploads in same field does not work
This will be addressed in a future version of Sticky List.

Post image meta fields are not populated when editing an entry
When editing an entry that has WordPress Post Image Field the meta inputs are not populated with existing values. This is due to how Gravity Form saves the data. This issue wont get fixed unless Rocket Genious changes the way it handles these fields.

Author: 13pixar

Tags: delete, edit, gravity forms, list

Source from: WordPress.org