Skip to content

Instantly share code, notes, and snippets.

View nfrp's full-sized avatar

Nicolas Pastorino nfrp

View GitHub Profile
@nfrp
nfrp / google_form_in_ez_publish
Created September 13, 2012 10:21
Embedding a Google Form as a custom tag in eZ Publish XML Block attribute
In content.ini.append.php
=========================
[CustomTagSettings]
AvailableCustomTags[]=google_form
CustomTagsDescription[google_form]=Google form
[google_form]
CustomAttributes[]
CustomAttributes[]=formEmbedUrl
@nfrp
nfrp / disable_module
Created February 16, 2012 10:16
Disabling a module in eZ Publish
Add the following rules in an override of site.ini
(typically settings/override/site.ini.append.php if
the modules should be disabled for all siteaccess,
both front-end and back-end) :
[SiteAccessRules]
Rules[]
# Set access policy to allowed
Rules[]=access;enable