Planet eZ publish
After last week's presentation of our latest eZ UnConference speakers, we are delighted to bring another piece of awesome news today.
(For french speaking people, the original french version of this article is available on my own blog)
As I'm currently upgrading the french Planet eZ Publish to the last eZ Publish 5, I'm also reviewing some of the bugs or the missing features I encountered when setting up the eZ Publish 5 version back in december 2012. One of those issues was about the differences between the pages generated by a legacy module (ezinfo/about, planet/search, ...) and the rest of the website. This was due to the fact that in 5.0, it was not possible to use a Twig pagelayout with a legacy module so the result of those modules were still injected in the good old pagealyout.tpl. Starting from the versions 2013.4 and 5.1, it's possible to use a Twig pagelayout on the legacy modules. That's a neat feature for a smooth and progressive upgrade to the new stack, but there are many interesting facts about it.
(English version available on share.ez.no)
Je suis en train de mettre à jour le Planète eZ
Publish.fr à la dernière version d'eZ Publish
5. J'en profite pour passer en revue les problèmes ou les fonctionnalités
manquantes que j'avais recontrés lors de la mise en place de la version avec eZ
Publish 5 en décembre
dernier. L'un de
ces problèmes
concernait les différences entre les pages générées par les modules legacy
(ezinfo/about, planet/search, ...) et le reste du site. En effet, en 5.0, il
n'était pas possible d'utiliser un pagelayout Twig avec un module
legacy, et donc le résultat de ces modules
étaient toujours injectés dans le bon vieux pagealyout.tpl. À partir des n
2013.4
et 5.1, il est maintenant possible d'utiliser un pagelayout Twig avec les
modules legacy. Il s'agit d'une fonctionnalité intéressante dans l'optique d'une
mise à jour progressive vers la nouvelle stack, mais certains éléments autour de
cette fonctionnalités sont intéressants.
Pour commencer, la version initiale a été ajoutée par Joe Kepley via une pull request. Il mérite un grand bravo pour ça :-)
Ensuite, en travaillant sur une amélioration, j'ai ajouté la possibilité de
définir ce pagelayout par siteaccess ou groupe de
siteaccess. Il n'y a pas de configuration sémantique, donc pour configurer le
pagelayout à utiliser avec les modules legacy, il faut écrire la configuration
suivante dans ezpublish.yml :
parameters:
ezpublish_legacy.planete.module_default_layout: PlanetBundle::pagelayout.html.twig
Dans cet exemple, planete est le nom du siteaccess et la valeur est évidemment
le chemin vers le template.
Enfin, avec quelques changements, le même pagelayout peut être utilisé pour les
modules legacy comme pour le reste du site. Le principal changement et
potentiellement le seul à apporter concerne le block content pour qu'il tienne
compte de l'éxécution d'un module legacy. Une simple condition sur la variable
module_result permet de détecter le contexte :
<html lang="fr-FR">
<body>
{% block content %}
{% if module_result %}
{# we are in a legacy rendered module #}
{{ module_result.content|raw }}
{% endif %}
{% endblock %}
body>
html>
Rien de compliqué, non ? Il s'agit là d'un des nombreux ponts entre eZ Publish legacy et la nouvelle stack eZ Publish 5. Vous voulez en apprendre plus ? Si j'étais vous, je m'inscrirais à la prochaine eZ UnConference #2. Sans conteste, le moyen le plus rapide de tout apprendre ou presque sur eZ Publish 5!
Yes, the word has spread-out quickly about this event at the heart of the eZ Publish & Symfony communities, end of May. We already had quality speakers (announced in my previous blog post) but still new speakers are coming from both eZ Community but also from Symfony Community. Read on!
As a web development company, we spend a lot of time deep in code, implementing solutions. However, essential to our success is the proper use of additional administrative and communication tools to keep organized, to run smooth projects, and to interact with clients. Skype, Dropbox, GitHub, and Google Apps are ubiquitous in the industry and embedded in our daily work. An additional set of less obvious tools are also just as important to our work.
With eZ UnConference #2 fast approaching, I thought it might be a good idea to share some thoughts on last year's eZ Unconference #1.
As announced here The eZ Publish Show returned today. We were broadcasting live from Google+ Hangout. Recorded video is now available on Youtube.
Geoff Bentley an I hosted Aleksander Farstad (the new CEO of eZ Systems), Nicolas Pastorino (VP Community) and Doug Plant (Mugo, Canada). The topic was community engagement
As announced here The eZ Publish Show returned today. We were broadcasting live from Google+ Hangout. Recorded video is now available on Youtube.
Geoff Bentley an I hosted Aleksander Farstad (the new CEO of eZ Systems), Nicolas Pastorino (VP Community at eZ Systems) and Doug Plant (Mugo, Canada). The topic was community engagement
Recently I was participating in an online course (on Coursera) and one of the task was to do an industry analysis. So I did it for web design and development industry focusing on 2 parts:
Be aware that I don't do these kind of analysis professionally :)
You may have seen 2 months ago we've updated the member profiles on share.ez.no. Now, you can complete your profile by filling in your social media accounts (LinkedIn, Google Plus, Github, Twitter).
