BC Remove Object Image Attribute Content
This extension implements a solution to provide the ability to change the administration UI locale (language) on the fly. This solution requires and provides an extension based kernel class overrides to store cache by siteaccess name + locale identifier and switch ini locale per request dynamically for just the one request., (*1)
Version
-
The current version of BC Remove Object Image Attribute Content is 0.7.0, (*2)
-
Last Major update: June 15, 2015, (*3)
Copyright
-
BC Remove Object Image Attribute Content is copyright 1999 - 2016 Brookins Consulting, (*4)
-
See: COPYRIGHT.md for more information on the terms of the copyright and license, (*5)
License
BC Document Reader is licensed under the GNU General Public License., (*6)
The complete license agreement is included in the LICENSE file., (*7)
BC Document Reader is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License or at your
option a later version., (*8)
BC Document Reader is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details., (*9)
The GNU GPL gives you the right to use, modify and redistribute
BC Document Reader under certain conditions. The GNU GPL license
is distributed with the software, see the file doc/LICENSE., (*10)
It is also available at http://www.gnu.org/licenses/gpl.txt, (*11)
You should have received a copy of the GNU General Public License
along with BC Document Reader in doc/LICENSE. If not, see http://www.gnu.org/licenses/., (*12)
Using BC Document Reader under the terms of the GNU GPL is free (as in freedom)., (*13)
For more information or questions please contact: license@brookinsconsulting.com, (*14)
Requirements
The following requirements exists for using BC Remove Object Image Attribute Content extension:, (*15)
eZ Publish version
-
Make sure you use eZ Publish version 4.x (required) or higher., (*16)
-
Designed and tested with eZ Publish Community Project GitHub Release tag (via composer) v2015.01.3, (*17)
PHP version
- Make sure you have PHP 5.x or higher.
Dependencies
- This extension command line script only depends on eZ Publish Legacy only
Features
Command Line Script
This solution provides a single multi use command line script:, (*18)
- eZ Publish PHP Command Line script :
extension/bcremoveobjectimageattributecontent/bin/php/bcremoveobjectimageattributecontent.php
Installation
Extension Installation via Composer
Run the following command from your project root to install the extension:, (*19)
bash$ composer require brookinsconsulting/bcremoveobjectimageattributecontent dev-master;
Extension Activation
eZ Publish Legacy extension script extensions are not activated via ini settings. Normal site.ini extension activation settings are not required to use this extension and it's solution., (*20)
Usage
The solution is configured to work virtually by default once properly installed., (*21)
Example Usage: Script Usage Help Command
First, Run the provided and detailed script help command:, (*22)
php ./extension/bcremoveobjectimageattributecontent/bin/php/bcremoveobjectimageattributecontent.php --help;
Note: The above command documents very clearly the required / optional script parameters with examples and defaults., (*23)
Example Usage: Test evaluate (mock) the removal multiple image attribute(s) image content from all versions of multiple image object(s), informational execution only, makes no change to database
php ./extension/bcremoveobjectimageattributecontent/bin/php/bcremoveobjectimageattributecontent.php --object-ids=126,127,180 --attribute-identifiers=image,image33 --script-verbose=true --script-verbose-level=3 --version=new --test-only;
Note: Use of the --test-only
parameter ensures that no mater which variation (parameter combinations) of the command used, the script will make no changes to any part of the database., (*24)
Example Usage: Remove single image attribute image content from a single image object's current version
php ./extension/bcremoveobjectimageattributecontent/bin/php/bcremoveobjectimageattributecontent.php --object-ids=126 --attribute-identifiers=image --script-verbose=true --script-verbose-level=3 --version=current;
Example Usage: Remove multiple image attribute(s) image content from all versions of multiple image object(s)
php ./extension/bcremoveobjectimageattributecontent/bin/php/bcremoveobjectimageattributecontent.php --object-ids=126,127,180 --attribute-identifiers=image,image33 --script-verbose=true --script-verbose-level=3 --version=all;
Example Usage: Remove multiple image attribute(s) image content in a new version multiple image object(s)
php ./extension/bcremoveobjectimageattributecontent/bin/php/bcremoveobjectimageattributecontent.php --object-ids=126,127,180 --attribute-identifiers=image,image33 --script-verbose=true --script-verbose-level=3 --version=new;
Troubleshooting
Read the FAQ
Some problems are more common than others. The most common ones are listed in the the doc/FAQ.md, (*25)
Support
If you have find any problems not handled by this document or the FAQ you can contact Brookins Consulting through the support system: http://brookinsconsulting.com/contact, (*26)