2017 © Pedro Peláez
 

craft-plugin disclosedassets

Allow your clients to find asset sub-folders by disclosing them by default

image

nystudio107/disclosedassets

Allow your clients to find asset sub-folders by disclosing them by default

  • Monday, September 18, 2017
  • by khalwat
  • Repository
  • 2 Watchers
  • 13 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

No Maintenance Intended, (*1)

DEPRECATED

This Craft CMS 2.x plugin is no longer supported, but it is fully functional, and you may continue to use it as you see fit. The license also allows you to fork it and make changes as needed for legacy support reasons., (*2)

Disclosed Assets plugin for Craft CMS

Allow your clients to find asset sub-folders by disclosing them by default, (*3)

Screenshot, (*4)

Installation

To install Disclosed Assets, follow these steps:, (*5)

  1. Download & unzip the file and place the disclosedassets directory into your craft/plugins directory
  2. -OR- do a git clone https://github.com/nystudio107/disclosedassets.git directly into your craft/plugins folder. You can then update it with git pull
  3. -OR- install with Composer via composer require nystudio107/disclosedassets
  4. Install plugin in the Craft Control Panel under Settings > Plugins
  5. The plugin folder should be named disclosedassets for Craft to see it. GitHub recently started appending -master (the branch name) to the name of the folder for zip file downloads.

Disclosed Assets works on Craft 2.4.x, Craft 2.5.x and Craft 2.6.x., (*6)

Disclosed Assets Overview

Disclosed Assets is a simple plugin that just ensures any Assets sub-folders are always disclosed by default. Many times, clients don't see the small > disclosure symbol, or have any idea what it does., (*7)

After Disclosed Assets is installed, all Assets sub-folders will be disclosed by default:, (*8)

Screenshot, (*9)

Configuring Disclosed Assets

There's nothing to configure., (*10)

Using Disclosed Assets

To use it, just install it, and enjoy happy clients., (*11)

Tip: to create sub-folders, Control- or right-click on the Asset source name., (*12)

Screenshot, (*13)

If you're using something like craft-cpjs, you can just add this line to your included AdminCP JavaScript to achieve the same effect that Disclosed Assets offers:, (*14)

// Disclose the all the things!
$(document).ready(function() {
    var toggleState = false;
    $('div .toggle').click();
    window.setTimeout(function(event) {
        if (Garnish.Modal.visibleModal) {
            if (!toggleState) {
                $('div .toggle').click();
                toggleState = true;
            }
        } else {
            toggleState = false;
        }
    }, 1000);
});

Disclosed Assets Roadmap

Some things to do, and ideas for potential features:, (*15)

  • Release it

Brought to you by nystudio107, (*16)

The Versions

18/09 2017

dev-master

9999999-dev

Allow your clients to find asset sub-folders by disclosing them by default

  Sources   Download

The Requires

 

18/09 2017

dev-develop

dev-develop

Allow your clients to find asset sub-folders by disclosing them by default

  Sources   Download

The Requires

 

18/09 2017

1.0.1

1.0.1.0

Allow your clients to find asset sub-folders by disclosing them by default

  Sources   Download

The Requires

 

15/09 2017

1.0.0

1.0.0.0

Allow your clients to find asset sub-folders by disclosing them by default

  Sources   Download

The Requires