ez projects / bcxmltemplateoverridecondit...
|UNIX name||Owner||Status||Version||Compatible with|
This extension implements a solution to provide additional override.ini rules match condition support. Provides an extension based kernel class override for class, 'eZXMLOutputHandler'.
BC Document Reader is licensed under the GNU General Public License.
The complete license agreement is included in the LICENSE file.
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.
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.
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.
It is also available at http://www.gnu.org/licenses/gpl.txt
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/.
Using BC Document Reader under the terms of the GNU GPL is free (as in freedom).
For more information or questions please contact: email@example.com
The following requirements exists for using BC XML Template Override Conditions extension:
This solution overrides the following kernel class:
This solution provides the following kernel class override:
Note: This solution requires only one legacy kernel class override of a class that is very stable and not subject to much change (if at all) per release (which is important for maintainability). The class has not been modified or needed a bugfix since late 2012.
This solution provides the following ezxmltags template override rule match conditions you can use in your override.ini settings:
Note: Additional match conditions can be added by patching the kernel override class and documentation. We support with this solution nearly all possible match conditions (minus state and some other more obscure and rarely used conditions).
Run the following command from your project root to install the extension:
bash$ composer require brookinsconsulting/bcxmltemplateoverrideconditions dev-master;
Kernel class override extensions are not activated via ini setttings. Normal site.ini extension activation settings are not required to use this extension and it's solution.
Kernel class overrides are only able to be used if you add the following to your eZ Publish Legacy config.php configuration file.
cp -va config.php-RECOMMENDED config.php;# Edit config.php to set 'EZP_AUTOLOAD_ALLOW_KERNEL_OVERRIDE' to true. It should look like this:define( 'EZP_AUTOLOAD_ALLOW_KERNEL_OVERRIDE', true );
Regenerate kernel class override autoloads (Required).
php ./bin/php/ezpgenerateautoloads.php --kernel-override;
Clear eZ Publish Platform / eZ platfrom caches (Required).
php ./bin/php/ezcache.php --clear-all;
The solution is configured to work virtually by default once properly installed.
You can use the additional override.ini rules match conditions within your settings to use this solution's features
Some problems are more common than others. The most common ones are listed in the thedoc/FAQ.md
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