Skip to content

Instantly share code, notes, and snippets.

Creating NeXT Generation eZ Platform Software

Brookins Consulting brookinsconsulting

Creating NeXT Generation eZ Platform Software
Block or report user

Report or block brookinsconsulting

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
brookinsconsulting / kernel_patch_for_ezpublish46_lib_ezutils_for_php54.patch
Created Sep 10, 2014
eZ Publish 4.6 Kernel Patch to Run Using PHP 5.4 (or greater). Apply patch with these commands: cd /path/to/ez; patch -s -p0 < kernel_patch_for_ezpublish46_lib_ezutils_for_php54.patch; Forum Reference:
View kernel_patch_for_ezpublish46_lib_ezutils_for_php54.patch
diff -ruN lib/ezutils/classes/ezmodulefunctioninfo.php lib-for-ezp46-patched-for-php-54/ezutils/classes/ezmodulefunctioninfo.php
--- lib/ezutils/classes/ezmodulefunctioninfo.php 2014-09-10 13:11:28.000000000 -0500
+++ lib-for-ezp46-patched-for-php-54/ezutils/classes/ezmodulefunctioninfo.php 2014-09-10 13:03:15.000000000 -0500
@@ -112,12 +112,12 @@
return false;
$functionDefinition = $this->FunctionList[$functionName];
- if ( !isset( $functionName['call_method'] ) )
+ if ( !isset( $functionDefinition['call_method'] ) )
brookinsconsulting / ezmatrix.xml
Created Sep 23, 2017
Example eZMatrix XML Storage Document
View ezmatrix.xml
<?xml version="1.0" encoding="utf-8"?>
<name />
<columns number="3">
<column num="0" id="identifier1">
<column num="1" id="identifier2">
brookinsconsulting / BcLowerCaseUnderscoreUrlAliasSlugConverter.php
Last active Mar 10, 2017 — forked from skrosoft/SlugConverterLC.php
ezpublishplatform and ezplatform SlugConverter class to transform all urlalias(es) into lowecase (ezp v3 style)
View BcLowerCaseUnderscoreUrlAliasSlugConverter.php
* File containing the BcLowerCaseUnderscoreUrlAliasSlugConverter class part of the BcLowerCaseUrlAliasBundle package.
* @copyright Copyright (C) Brookins Consulting. All rights reserved.
* @license For full copyright and license information view LICENSE and file distributed with this source code.
* @version //autogentag//
* @package BcLowerCaseUrlAliasBundle
brookinsconsulting / bcrolehaspolicykernelclassesezrole.php
Created Jan 21, 2012
This is a copy of the kernel/classes/ezrole.php PHP class from eZ Publish GitHub master 8a25d8730ec06cb4cbcdb9d47f13dca8b3fe9aab modified to provide hasPolicy method by default.
View bcrolehaspolicykernelclassesezrole.php
Name: BC Role hasPolicy Kernel Override (extension kernel override)
About this Gist
This Gist based solution graduated on 2012/01/22 to a full fledged, ready to use out of the box, eZ Publish based extension.
The extension based solution is ready to use with eZ Publish right out of the box with no additional configuration required.
brookinsconsulting / settingsoverridecontentstructuremenu.ini.append.php
Created Jan 17, 2012
Example settings/override/contentstructuremenu.ini.append.php file which enables an additional content class
View settingsoverridecontentstructuremenu.ini.append.php
<?php /* #?ini charset="utf-8"?
*/ ?>
brookinsconsulting / extensionbclayoutpatch4.6index.php.patch.diff
Created Jan 16, 2012
This is the patch file (diff) which adds view parameter support to ezmodule rerun calls including layout/set module view. This solution is also provided as a kernel override extension class.
View extensionbclayoutpatch4.6index.php.patch.diff
> // START EDIT BC: Add view parameter support
> $viewParameters = array();
> $uriUserParameters = $uri->userParameters();
> foreach( $uriUserParameters as $key => $param )
> {
> if( $param != '' )
> {
> $viewParameters = array_merge( $viewParameters, array( $key => $param ) );
brookinsconsulting / README.tmp.txt
Created Jan 14, 2012
This is a copy of a very old copy of the certify.php command line script created by eZ Systems. You can use this script to test your extension for compliance to eZ Publish (Enterprise) extension development guidelines. Also tests for extension errors ...
View README.tmp.txt
Solution Name: eZP Certify Extension
Extension Identifier: ezpcertifyextension
Script Name: ezpcertifyextensionbinphpezpcertifyextension.php
eZP Certify Extension is an eZ Publish extension script for eZ Publish
brookinsconsulting / README
Created Dec 14, 2011
'bcsubtreecopyretainsections.php' is a improved / modified copy of 'ezsubtreecopy.php' which provides a new feature the default script does not provide, it allows you to retains existing content object section assignments (tested) for any version of eZ Pu
Name: BC Subtree Copy Retain Sections (extension script)
About this Gist
This Gist based solution graduated on 2011/12/14 to a full fledged, ready to use out of the box, eZ Publish based extension.
The extension based solution is ready to use with eZ Publish right out of the box with no additional configuration required.
brookinsconsulting / TestCaseMissingTranslationContent
Created Nov 26, 2011
2011.11.26 - Translation extension settings troubleshooting
View TestCaseMissingTranslationContent
Error Message:
Debug: ezpI18n::translateText Nov 26 2011 11:45:09 Missing translation for message in context: 'extension/bcloremipsum/create'. The untranslated message is: 'Create nodes in content tree for eZ Publish'
Related Settings:
Extension translation settings:
File: extension/bcloremipsum/settings/site.ini.append.php
brookinsconsulting / README
Created Nov 23, 2011
README for upcoming eZ Publish extension to create customized audio files on the fly.
This extension will create automatically (using the 'content,after,publish' trigger) a audio sample from object related mp3 audio file.
With this workflow event it's possible to setup the playtime, the cutstart and the fadein-/fadeouttime in seconds to get a automatically created audio sample.
For optimal use the server needs ffmpeg and sox installed, but also worked without it too (simple mp3 cutting in php without fading).
I still need some time to change the hard coded paths and to write a doc/README. If u need info you are welcome in IRC #ezpublish on freenode server.
You can’t perform that action at this time.