- Aug 14, 2019
A few days ago, a small update was released from yii2 version 2.0.17
It basically fixed bugs, and minor improvements were made, actually you can see this thing here: https://www.yiiframework.com/news/241/yii-2-0-24
And also a bug was fixed with the storage of component settings, due to which the settings for quick site management were lost.
The most common settings that have to be changed in various templates when building a site are made in the settings of the Shop module.
The work of filters is also optimized, now they are built in a more optimal way, faster and easier.
If you search on this topic, you can find various tips for the yii2 framework. All of them boil down to the fact that you need to subscribe to a specific event of the form, intercept it, cancel the standard otppavku and form ajax request with the form data yourself.
Actually, a similar approach is implemented in skeeks cms, only this component is much more difficult, it can track the status of the submission, and prevent the form from being resubmitted until the first submission is completed.
This is a description of the component that is suitable for any SkeekS CMS project. It allows you to translate the site into different languages.
- Translation of content into different languages
- Translation of sections into different languages
- Generates SEO url with the addition of the language version
- Forms alternative meta tags (see source code)
- Gives user selectable language widget
- After 5 seconds, prompts the user to change the language on the site (if he understands that the user needs it)
This component is suitable for any Yii2 project . It allows you to hook into the process of rafting and the process of parsing the request, and add the site language parameter to the url.
Able to work with setting yii2 url manager ( enablePrettyUrl => true ) and doing beautiful url of the site.ru/en/path, site.ru/pt/path type
There are a large number of sites that run on SkeekS CMS version 3, although the last release of the 3rd branch is 3.2.3 - March 15, 2017, 0:50:37 (2 years ago). It was worth it before, but as they say "better late than never," I post an example of updating the site to the version of SkeekS CMS 5.
A very frequent task in order to provide your users with high-quality and convenient site functionality is the conversion of links in plain text or html. After all, when you give your users something to write independently on the site (for example, comments), then of course you try to protect them from html code. But if they do not use it, then they cannot select links according to the html rules. And it needs to be done for them.
For projects on the yii2 framework, I wrote a small extension: https://cms.skeeks.com/marketplace/components/tools/other/396-preobrazovanie-neaktivnyh-ssylok-v-tekste
To copy any text into js clipboard, you can paste this text into input, which must be visible and not in a twisted div, select it and use the built-in js document.exe function ("copy");
- Aug 13, 2019
- Jun 24, 2019
- Jun 24, 2019