Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
BcLowerCaseUrlAlias | Brookins Consulting | stable |
Version | Compatible with |
---|---|
N/A | N/A |
This bundle implements a solution to provide eZ Publish Platform / eZ Platform url alias
transformation configuration necessary to transform new content created or modified
url aliases to lower case separated by underscore or dash characters.
BC Lower Case Url Alias is licensed under the GNU General Public License.
The complete license agreement is included in the LICENSE file.
BC Lower Case Url Alias 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 Lower Case Url Alias 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 Lower Case Url Alias under certain conditions. The GNU GPL license
is distributed with the software, see the file 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 Lower Case Url Alias in in the LICENSE file.
If not, see http://www.gnu.org/licenses/.
Using BC Lower Case Url Alias under the terms of the GNU GPL is free (as in freedom).
For more information or questions please contact: license@brookinsconsulting.com
The following requirements exists for using BC Lower Case Url Alias bundle:
This solution provides the following ezplatform slug converter classes:
These dependencies are documented in greater detail within the bundle's composer.json file
This solution was created to provide content url aliases which are similar
to the eZ Publish Legacy 3.x url aliases (lowercase and separated by underscores).
Run the following command from your project root to install the bundle:
bash$ composer require brookinsconsulting/bclowercaseurlaliasbundle dev-master;
Within file app/AppKernel.php method registerBundles add the following into the $bundles = array( variable definition.
// Brookins Consulting : BcGitHubStarsBundle Requirements
new BrookinsConsulting\BcLowerCaseUrlAliasBundle\BcLowerCaseUrlAliasBundle(),
Clear Symfony caches (Required).
php bin/console cache:clear;
The solution is configured to work virtually by default once properly installed.
If you prefer the lower case urls separated with underscores you need do nothing as this is the supported default once this bundle is activated.
If however you prefer the lower case urls separated with dashes (an optional configuration) you will need to override the default parameter class configuration with the following within your own app/config or your own prioritized bundle configuration (separate).
Example: Change the class from parameters yaml configuration as follows
parameters:
ezpublish.persistence.slug_converter.class: BrookinsConsulting\BcLowerCaseUrlAliasBundle\Core\Persistence\Legacy\Content\UrlAlias\BcLowerCaseDashUrlAliasSlugConverter
Worth noting that this bundle provides a decent example implementation which can simply be copied and or modified to meet your own specific requirements and needs.
You could easily use this bundle as an example on how to override yaml parameters, class overrides and url alias slug converter configurations.
With this knowlege you could create your own url alias slug converter configuration classes representing different website / app requirements.
The solution is configured to work once properly installed and configured.
Note: At the time of writing xss testing has not been implemented nor proper unit testing.
Some problems are more common than others. The most common ones are listed in the the Resources/doc/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