The essential news about content management systems and mobile technology. Powered by Perfect Publisher and XT Search for Algolia.
The News Site publishes posts to the following channels: Facebook, Instagram, Twitter, Telegram, Web Push, Tumblr, and Blogger.
The promise of the internet is nearly as big as the internet itself. With endless knowledge at your fingertips and electrifying inspiration everywhere you look, there’s no reason you shouldn’t be able to build your own website — your own way.
Today, that became easier. We’re thrilled to announce the brand-new WordPress.com YouTube channel.
Whether you’re just starting out or are the seasoned pro your friends turn to, this channel is here to support all your website-building needs. Our step-by-step tutorials will have you up and running in 10 minutes — turning frustration into celebration. Follow along, find the answers you need, and become the authority in your own experience.
And we’re not stopping at education and support. Above all, this channel will showcase you. Nothing speaks louder than our users’ success stories, and we want to share them all.
From first-time bloggers to ecommerce wizards, we’re going to bring them together to share their stories. What better way to learn than from each other?
With more than 15 years powering the open web, we’re here to support your journey: your successes, your learning experiences, and your fabulous ideas coming to life. Wherever you are on that path, we’ve got you covered.
Join us on YouTube — you won’t want to miss the educational content and community highlights coming to the channel.
Read more https://wordpress.com/blog/2022/02/01/wordpress-com-has-a-new-home-on-youtube/
The post Complete Web Scraping toolkit for PHP appeared first on Laravel News.
Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/roach-php
With the release of PrestaShop 1.7.8, we expanded PrestaShop multistore capabilities to Symfony forms in order to build a reusable form component to make configuration forms multishop-compatible.
Multishop affects a lof ot PrestaShop behaviors and components. One aspect of this feature is that user can use configuration forms to set different values for different shops, which is dealt with using shop contexts.
In a configuration form, a merchant can set different values for three different shop contexts, in this order of inheritance:
When a value is not set for a context, it inherits the value of the parent context. Consequently, the “All Shops” context values can be considered default values.
Product designers listened to merchants feedback and were told this mechanism was not obvious, and it was not easy to see at a glance which form fields were modified or not for the current context in the back-office.
We wanted to build something new to make this feature easier to use.
We set ourselves two main criteria:
Improve existing User Experience for better understanding
Make the technical implementation as reusable as possible on existing and future configuration forms, to make sure external contributors and module developers can easily reuse it.
After numerous merchant interviews, UX designers team created mock-ups, then Product owners worked out how it should behave and wrote it down as specifications in accordance with users feedback.
Here is how a multistore compatible configuration form looks like since Prestashop 1.7.8:
As you can see, a checkbox appears before multistore compatible fields. When it’s not checked and the field is greyed out, it means that the value is inherited from a parent context. When it’s checked, the value is overridden. In our screenshot example we can see that:
In “All shops” and group context, if a child context has a field that is overridden, a dropdown is displayed next to it and informs whether the value is overridden or not for each context:
Here, we are looking at the dropdown for the field “Maintenance IP”, in “All shops” context, and we are given these pieces of information:
As you see, we did not fully reinvent the feature, we kept the concept of checkboxes, but we tried to make clearer what it does with the dropdowns and by graying fields when they inherit their value from the parent context.
On the technical side, these visual elements had to be reusable and easily implementable, without having to copy HTML or rethink the logic in the backend.
All the work of knowing if the value of a field is inherited or not, and saving the submitted value only for the right context should be done only once, and easily reused by external contributors.
For this purpose, we decided to take advantage of Symfony form extensions. To add the new checkboxes and multistore dropdowns on a configuration form, a developer simply needs to extend our multistore extension and configure each multishop field with its related configuration name, see the maintenance configuration form as an example.
Then we added multistore helper methods for Configuration
classes, to make saving data for the right context a breeze
(depending on which checkboxes are checked). See how the new
updateConfigurationValue
method is used here.
Finally, we created a new multistore Javascript component, which only needs to be instantiated in order to make the multistore form reactive. You can see it in action in the multistore example module.
As most of you may know, PrestaShop is open source, which means you are more than welcome to contribute ! Multistore’s technical documentation can be found here, there’s also a module example showing you how you can make your configuration forms multistore compatible in your own modules.
Feedback is always appreciated, so don’t hesitate to contact us on one of our Slack channels, see you soon !
Read more https://build.prestashop.com/news/multistore-configuration-forms/
The post What Makes Automated Application Monitoring so Important? appeared first on Laravel News.
Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/what-makes-automated-application-monitoring-so-important
This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 24th to Sunday 30th of January 2022.
Dear developers,
The first month of this year draws close, and much has already been done!
If you wish to see a bit of this month achievements, just join us for next session of public demonstration from the maintainers team. It will be streamed live on Wednesday, February 2, 2022, at 4 pm CET. See you then!
strip_tags
error
messages during value escaping.. Thank you @FongWandisplayPaymentReturn
,
by @Progi1984Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @dependabot[bot], @Progi1984, @nesrineabdmouleh, @matks, @eternoendless, @Om3n31, @mparvazi, @kpodemski, @NeOMakinG, @okom3pom, @rsoulard-prolaser, @atomiix, @FongWan, @sowbiba, @saulaski, @Hlavtox, @lmeyer1, @onlime, @jolelievre!
Thank you to the contributors whose PRs haven’t been merged yet! And of course, a big thank you to all those who contribute with issues and comments on GitHub!
If you want to contribute to PrestaShop with code, please read these pages first:
…and if you do not know how to fix an issue but wish to report it, please read this: How to use GitHub to report an issue. Thank you!
Happy contributin’ everyone!
Read more https://build.prestashop.com/news/coreweekly-04-2022/