New! Checkout our new GitHub homepage! Follow the latest activity of eZ Publish Developers on GitHub.com


Why this feature?

Until now, image fields within content types were managed using the Image field type. Honestly, this field type wasn’t the most intuitive. It would store images in the content item and the image would not be reusable by the editor for any other mean than the original content item. This feature was something we needed to update, to allow users to reuse content. That is what the Image Asset field type aims at doing.

Now, let’s dive in and discover more about the capabilities of the Image Asset field type and how it could be used in different user case scenarios.

Here is a simplified diagram of a use case of an editor creating an article with an Image Asset Field, to understand how this field type works.

[Diagram] - Creating an article with an Image Asset Field

Creating a new Image Asset

As you can see in this use case, editors will be able to add an Image Asset Field definition to any content type to manage images instead of using the old Image field type. In this example, the editor used the Article content type. The image uploaded in the field will be stored as an Image content type in the media library (or elsewhere, but the media library is the default), instead of in the article itself, and immediately available to others. Editors will then be able to easily reuse the image in other places. This will save editors time and will not require them to upload the same image twice. Note that the image is stored as an Image content type as a default configuration, but the system can be configured to store into different content types (as long as they use the Image field type), providing developers with more flexibility.

Selecting images from the content repository for image fields.

An additional benefit of the Image Asset field type that comes as a way of consequence is that, when users create new content, they won’t always need to upload an image from their computer but will be able to browse and select an image directly from the media library, hence reusing content more easily. Let’s have a look at how the interaction looks like:

Selecting an image asset from the content repository 

What to expect in the future

In the future, we plan to create similar field types, such as Media Asset and File Asset. This will become a standard for managing field types based on binary files in eZ’s content repository. The updates will be beneficial for both developers and marketers as this will become a consistent manner to upload, reuse and search assets.

We are also planning to create additional capabilities to this feature in further releases. One of them is a service that will identify potential duplicates and prevent the user from creating several copies of the same image. As mentioned previously, once an image is uploaded, it will be stored in the content repository under the media library. If an editor attempts at creating another image from the same image file, the system will be able to identify it and suggest the editor reuse an existing image instead of creating a duplicate in the media library. The benefit will be the repository that is better organized and content simpler to manage and reuse. Is that something that would be useful for you?

This Friday we will ship eZ Platform v2.3. We are very excited for this release and believe it will provide value both to our community and enterprise users. If you have any need, opinion or idea, of what would be helpful for you in the future, please drop us a note. Until then, if you’re interested or have any questions, please feel free to leave a comment here or on discuss.ezplatform.com. Feel free to reach out to us, too, at productmanagement@ez.no.

09/25/2018 01:32 pm   eZ Systems News   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/NetgenEzFormsBundle Sep 25, 2018
2 commits to master
09/25/2018 12:32 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezstudio Sep 25, 2018
2 commits to master
09/25/2018 12:19 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezpublish-kernel Sep 25, 2018
2 commits to master
09/25/2018 12:16 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezplatform-demo Sep 25, 2018
1 commit to master
  • @ciastektk 45cab0b
    DEMO-185: Subscribe link opens About page (#99)
09/25/2018 12:14 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/NetgenEzFormsBundle Sep 25, 2018
2 commits to master
09/25/2018 12:06 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezstudio Sep 25, 2018
2 commits to master
09/25/2018 12:02 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezpublish-kernel Sep 25, 2018
2 commits to master
09/25/2018 12:01 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezplatform-demo Sep 25, 2018
1 commit to master
  • @ciastektk 45cab0b
    DEMO-185: Subscribe link opens About page (#99)
09/25/2018 12:00 pm   eZecosystem @ GitHub   Mirror   Link  

Downstream — Trip 4

On the previous trip I walked from Shillingford to Reading on the Thames Path, and on this trip I was planning to walk to Marlow. For once, getting to the start was easy by a single and fast train ride into Reading.

Day 6 — Reading to Bourne End

With the Reading Festival over, there was little to see of hoardings and temporary holding pits when I started my walk towards Marlow. The first interesting thing along the path is Caversham Lock, which quite busy on the slightly hazy morning.

A little further along, I crossed, by means of a foot bridge, the River Kennet. Through the Kennet and Avon Canal, it connects the Thames at Reading with the River Avon at Bristol, with the canal section between Bath and Newbury. When recording the video section on this, I messed up so had to re-record the narration.

Continuing along the Thames Path I noticed that there are a significant number of posh schools located along this stretch of the river, which sometimes means you need to make a little detour. Another of these detours away from the river is at Shiplake, where the Thames Path brings you straight to the quaint village, with its Phone Box Book Exchange, and its lovely railway station.

My plan was to have lunch at Henley, at one of the pubs along the river. Just when I got to Henley however it started to rain, and all the pubs where absolutely packed, with lots of people wearing colourful clothes. I had no idea what was going on, and I was hungry, so I found a little cafe, Cafe Copia near the town hall to have lunch, and wait for the rain to pass.

After lunch I crossed the bridge and found the Thames Path clogged with these same people in colourful clothes. Due to the busyness it was quite slow going for a while, until I got to a massive festival site just North of Remenham. There was a reason for the funny dress sense after all, as this site was hosting the Rewind Festival, a big 80s festival.

After half an hour, the festival site was no longer visible and audible and the tranquillity of the walk returned, and I could listen to the podcast series Caliphate from the New York Times, once again, in the middle of the private deer park of Culham Court.

At Hurley it became busy along the Thames again as they were having their annual Regatta. As I was quite early, there was no racing going on yet, but as often with these river-side festivals they make you go around them, away from the Thames Path.

Near Bisham, you can spot the former grounds of Bisham Abbey across the river. Now it is sports centre, but when I passed by there was a wedding reception in progress.

As I was now approaching Marlow, I asked one of my coworkers, who is local, for a good recommendation for a post-walk beer. He came back with saying that Marlow is primarily food-orientated, and proceeded to recommend a pub in Bourne End, another three and a half miles walking. I decided to do that, as it was quite reasonably early, and I was going to miss the train at Marlow anyway. Just past the town, the Thames Path got diverted again, as repaving work was being done on a section — yay for shiny new paths!

The extra miles to Bourne End where worth it in the end as I settled for a half at KEG Craft Beer for a lovely sour. I also picked up a train beer for my trip back into London.


Photos from my Adventure on the Thames Path are available on Flickr, and all videos on Vimeo. You can also see all the photos on a map.

09/25/2018 03:08 am   derickrethans.nl   Mirror   Link  

Using tables to display tabular contents in console commands are one of the most popular features of the Console component. In Symfony 4.2 we improved them with new features to display titles and set their maximum column width.

Adding titles to tables

Contributed by
Dany Maillard
in #26933.

In Symfony 4.2 tables can now display a title both at the top and the bottom of its contents with the setHeaderTitle() and setFooterTitle() methods, which is ideal for complex or paginated tables:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
use Symfony\Component\Console\Helper\Table;
 // ...

$table = new Table($output);
$table
    ->setHeaderTitle('Books')
    ->setFooterTitle('Page 1/2')
    ->setHeaders(['ISBN', 'Title', 'Author'])
    ->setRows([
        ['99921-58-10-7', 'Divine Comedy', 'Dante Alighieri'],
        // ...
    ])
;
$table->render();

This is how the above example would look in your terminal:

1
2
3
4
5
6
7
8
+---------------+----------- Books --------+------------------+
| ISBN          | Title                    | Author           |
+---------------+--------------------------+------------------+
| 99921-58-10-7 | Divine Comedy            | Dante Alighieri  |
| 9971-5-0210-0 | A Tale of Two Cities     | Charles Dickens  |
| 960-425-059-0 | The Lord of the Rings    | J. R. R. Tolkien |
| 80-902734-1-6 | And Then There Were None | Agatha Christie  |
+---------------+--------- Page 1/2 -------+------------------+

Setting the max width of columns

Contributed by
Roland Franssen
in #28373.

The width defined with the setColumnWidth() method is considered the minimum column width. If the contents don't fit, the column width is increased up to the longest content length. In Symfony 4.2 we added a new setColumnMaxWidth() method to wrap long contents into multiple lines to maintain the column width.

1
2
3
4
5
6
7
// ...

// the first argument is the column position (starting from 0) and
// the second argument is the max length in characters
$table->setColumnMaxWidth(0, 5);
$table->setColumnMaxWidth(1, 10);
$table->render();

This example sets the max length of the first column to 5 characters and the max length of the second column to 10 characters. The give contents no longer fit into those columns, so they wrap into multiple lines:

1
2
3
4
5
6
7
8
+-------+------------+--------------------------------+
| ISBN  | Title      | Author                         |
+-------+------------+--------------------------------+
| 99921 | Divine Com | Dante Alighieri                |
| -58-1 | edy        |                                |
| 0-7   |            |                                |
|                (the rest of rows...)                |
+-------+------------+--------------------------------+

Be trained by Symfony experts - 2018-10-1 Paris - 2018-10-1 Paris - 2018-10-3 Paris
09/25/2018 03:06 am   Symfony Blog   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/PlatformUIBundle Sep 24, 2018
2 commits to master
09/24/2018 12:39 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezpublish-spi Sep 24, 2018
2 commits to master
09/24/2018 12:18 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezpublish-kernel Sep 24, 2018
2 commits to master
09/24/2018 12:17 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezplatform Sep 24, 2018
2 commits to master
09/24/2018 12:15 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/Sylius Sep 24, 2018
2 commits to master
09/24/2018 12:11 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/PlatformUIBundle Sep 24, 2018
2 commits to master
09/24/2018 12:09 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezpublish-spi Sep 24, 2018
2 commits to master
09/24/2018 12:02 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezpublish-kernel Sep 24, 2018
2 commits to master
09/24/2018 12:01 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezplatform-xmltext-fieldtype Sep 24, 2018
1 commit to master
  • @vidarl 12bc4f6
    Fixed RichTextTest so that tests fails if unexpected logs messages ar…
09/24/2018 12:01 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezplatform Sep 24, 2018
2 commits to master
09/24/2018 12:00 pm   eZecosystem @ GitHub   Mirror   Link  

This week Symfony introduced SymfonyCasts, the best place to learn about Symfony, PHP and JavaScript. Meanwhile, the Validator component was decoupled from the Translator, and the lint commands were improved to support multiples files and directories. Lastly, the SymfonyLive London 2018 conference will take place next week.

Symfony development highlights

2.8 changelog:

  • 8d90df7: [Form] fixed DateTimeType html5 input format
  • a9004b3: [HttpFoundation] don't override StreamedResponse::setNotModified()
  • c75b1ed: [LDAP] used shut up operator on connection errors at ldap_start_tls
  • 4da7ab1: [PhpUnitBridge] provide debug_backtrace with proper args
  • 5a10f2d: [Form] forwarded false label option to nested types
  • 5d30df7: [HttpFoundation] allowed reuse of Session between requests if ID did not change
  • 2c8c6f7: [Console] fixed boxed table style with colspan

3.4 changelog:

  • c4c2981: [DependencyInjection] detect circular references with ChildDefinition parent
  • e0e5e83: [DependencyInjection] fixed infinite loop involving self-references in decorated services
  • 31e96f7: [MonologBridge] re-add option option to ignore empty context and extra data

Master changelog:

  • 48038fd: [Cache, Contracts] save the item or the trait does not have any effect
  • 1f98703: [Form, TwigBridge] fixed not displaying labels when value is false
  • 680f319: [PhpUnitBridge] enabled DebugClassLoader by default
  • cb13594: [FrameworkBundle] ignore backslashes in service ids when using debug:container and debug:autowiring
  • a1ca55b: [Validator] allow Validator without the translator component
  • bf4d011: [Validator] check the BIC country with symfony/intl
  • 4d6fc63: [Translation] added support for multiple files or directories in XliffLintCommand
  • a55853d: [Yaml] added support for multiple files or directories in LintCommand
  • 6856c02: [VarDumper] allow dd() to be called without arguments
  • 0d9154e: [Lock] added ZooKeeper data store
  • c51592c: [Debug] trigger a deprecation for new parameters not defined in sub classes
  • 85d335a: [VarDumper] added caster for MessageFormatter
  • 57a3413: [Form] fixed fail reverse transforming invalid RFC 3339 dates

Newest issues and pull requests

They talked about us

Upcoming Symfony Events

Call to Action


Be trained by Symfony experts - 2018-10-1 Paris - 2018-10-1 Paris - 2018-10-3 Paris
09/23/2018 03:06 am   Symfony Blog   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/launchpad Sep 22, 2018
2 commits to master
09/22/2018 12:03 am   eZecosystem @ GitHub   Mirror   Link  

News

How to create forms with the new Form Builder

In an earlier sneak peek, Amit Golan Gutin, Product Marketing Manager at eZ, introduced improvements around scheduling changes on your website. This week Amit provides an insight into the new Form Builder which will also be part of eZ Platform 2.3.

“eZ Platform v2.3 is a mere two weeks away and is expected to reintroduce many useful features that were missing in the previous release. One of those prominent features is the form builder. The form builder will allow users to easily create, manage and reuse forms anywhere on their website. One of our goals was also to continue improving the editorial experience by enabling users to easily edit forms.”

Read the full article on our blog.

Slack Channels Archived and Renamed

This week several unused channels on our Community Slack Workspace have been archived. Some channels were renamed, for instance #ezstudio-use to #ezplatform-enterprise and #i18n to #ezplatform-i18n. Finally, missing or incomplete channel Topics and Use descriptions were also corrected.

Reminder: Help us Translate eZ Platform

eZ Platform 2.3 will be released at the end of this month. If you are using eZ Platform in a multilingual environment, now would be the time to join our translation effort. Get your own language ready and shipped with 2.3!

We have setup a server running the demo, based on the latest version of eZ Platform. This server is shared with the public and enables in-context translation. All you need is an account on Crowdin.com and follow the tutorial shared here.

In Other News:

Resources

How to contribute to our documentation

With our Developer Documentation moved to http://doc.ezplatform.com, it is now easier for everyone to contribute through GitHub. So let’s have a look at how to do this.

You can visit the Documentation repository on GitHub, find the corresponding *.md files and make your suggestions there. Or follow your regular Git workflow cloning the repository and contributing to the documentation. Other methods could be submitting a Jira issue, posting your suggestions on our dedicated Slack doc channel or contacting the Doc Team via email. To get the full details on all these options, check out our contributing to documentation page.

Looking for a bundle compatible with eZ Platform? Check out: https://ezplatform.com/Bundles.

Social Media

Follow us on Twitter, Facebook, LinkedIn, Google+, or YouTube, and join our Community for any help with eZ Platform or community-related questions.

Find eZ at These Events

For more events, make sure to check out this list.

Each week we publish a roundup of highlights from the eZ ecosystem. If you have any news or events to share, please contact me.

(Lead image credit: Tom Ishida, CC)

09/21/2018 01:15 pm   ez.no/About-eZ/Blog   Mirror   Link  

News

How to create forms with the new Form Builder

In an earlier sneak peek, Amit Golan Gutin, Product Marketing Manager at eZ, introduced improvements around scheduling changes on your website. This week Amit provides an insight into the new Form Builder which will also be part of eZ Platform 2.3.

“eZ Platform v2.3 is a mere two weeks away and is expected to reintroduce many useful features that were missing in the previous release. One of those prominent features is the form builder. The form builder will allow users to easily create, manage and reuse forms anywhere on their website. One of our goals was also to continue improving the editorial experience by enabling users to easily edit forms.”

Read the full article on our blog.

Slack Channels Archived and Renamed

This week several unused channels on our Community Slack Workspace have been archived. Some channels were renamed, for instance #ezstudio-use to #ezplatform-enterprise and #i18n to #ezplatform-i18n. Finally, missing or incomplete channel Topics and Use descriptions were also corrected.

Reminder: Help us Translate eZ Platform

eZ Platform 2.3 will be released at the end of this month. If you are using eZ Platform in a multilingual environment, now would be the time to join our translation effort. Get your own language ready and shipped with 2.3!

We have setup a server running the demo, based on the latest version of eZ Platform. This server is shared with the public and enables in-context translation. All you need is an account on Crowdin.com and follow the tutorial shared here.

In Other News:

Resources

How to contribute to our documentation

With our Developer Documentation moved to http://doc.ezplatform.com, it is now easier for everyone to contribute through GitHub. So let’s have a look at how to do this.

You can visit the Documentation repository on GitHub, find the corresponding *.md files and make your suggestions there. Or follow your regular Git workflow cloning the repository and contributing to the documentation. Other methods could be submitting a Jira issue, posting your suggestions on our dedicated Slack doc channel or contacting the Doc Team via email. To get the full details on all these options, check out our contributing to documentation page.

Looking for a bundle compatible with eZ Platform? Check out: https://ezplatform.com/Bundles.

Social Media

Follow us on Twitter, Facebook, LinkedIn, Google+, or YouTube, and join our Community for any help with eZ Platform or community-related questions.

Find eZ at These Events

For more events, make sure to check out this list.

Each week we publish a roundup of highlights from the eZ ecosystem. If you have any news or events to share, please contact me.

(Lead image credit: Tom Ishida, CC)

09/21/2018 01:15 pm   eZ Systems News   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/repository-forms Sep 21, 2018
1 commit to master
  • @ViniTou 23bb2ff
    EZP-29269: User draft is not discarded on edition cancel (#240)
09/21/2018 12:40 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/phpunit Sep 21, 2018
2 commits to master
09/21/2018 12:38 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/NetgenEzFormsBundle Sep 21, 2018
1 commit to master
  • @MarioBlazek 26f6131
    Increase memory limit on TravisCI
09/21/2018 12:30 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezstudio Sep 21, 2018
2 commits to master
09/21/2018 12:19 pm   eZPublishLegacy @ GitHub   Mirror   Link