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
brookinsconsulting / README
Created Nov 13, 2011
Example 'member_of_role' template operator autoload configuration file and OWSimpleOperator based 'BCMemberOfRoleByUserIDOperator' class and method 'member_of_role' (both required). Provided class method 'member_of_role' can be called in PHP.
View README
Name: BC Member Of Role (extension)
A OWSimpleOperator based template operator extension for eZ Publish ( 4.x -> 4.6 ( Community Build 2011.10 ) )
About this Gist
This Gist based solution graduated on 2011/11/12 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
brookinsconsulting / README
Created Nov 23, 2011
Example customized all2egooglesitemaps based eZ Publish cronjob part, 'generate.php'. Created in reponce to a specific feature request shared on share.ez.no forums, http://share.ez.no/forums/developer/site-map-xml-with-language-listing-in-main-site
View README
README
Name: generate.php customized cronjob part which generates sitemap xml file based on all content of an eZ Publish site
A all2egooglesitemaps based cronjob part extension for eZ Publish ( 4.x -> 4.6 )
About this Gist
This Gist based solution graduated on 2011/11/22 from it's original pastbin mirror to a full fledged, well documented, ready to use out of the box, eZ Publish based cronjob part.
@brookinsconsulting
brookinsconsulting / block.ini.append.php
Created Nov 23, 2011
Example block configuration which resets the [General] AllowedTypes[] settings array. Response to support request related to https://gist.github.com/1388242
View block.ini.append.php
<?php /* #?ini charset="utf-8"?
[General]
AllowedTypes[]
AllowedTypes[]=firstblockavailable
AllowedTypes[]=Nyheter
[Nyheter]
Name=Nyheter
ManualAddingOfItems=disabled
@brookinsconsulting
brookinsconsulting / README
Created Nov 23, 2011
README for upcoming eZ Publish extension to create customized audio files on the fly. http://projects.ez.no/vxaudiosample
View README
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.
@brookinsconsulting
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
[RegionalSettings]
@brookinsconsulting
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
View README
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.
Distribution
@brookinsconsulting
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
README.txt
Solution Name: eZP Certify Extension
Extension Identifier: ezpcertifyextension
Script Name: ezpcertifyextensionbinphpezpcertifyextension.php
About
eZP Certify Extension is an eZ Publish extension script for eZ Publish
@brookinsconsulting
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. https://gist.github.com/1651245
View extensionbclayoutpatch4.6index.php.patch.diff
1072a1073,1087
> // 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
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"?
[TreeMenu]
ShowClasses[]=blog
*/ ?>
@brookinsconsulting
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.
Distribution
You can’t perform that action at this time.