forked from joomla/joomla-cms
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] А как тут сделать страницу? #3
Labels
enhancement
New feature or request
Comments
b2z
pushed a commit
that referenced
this issue
Apr 11, 2019
* This is a combination of 8 commits. This is the 1st commit message: > First WIP version of supporting nested subforms. This is the commit message #2: > Fix nested subforms not getting correct name attribute on input fields. This is the commit message #3: > Fix subform rows having invalid index, fix small typo. This is the commit message #4: > Replace the unique subform id via random bytes by just an increasing integer in the fields type rendering process. This is the commit message #5: > Implement feedback from PR at Joomla; > - Use a <template> HTML element for the template of the subform rows, > not a url encoded string inside of a <script> element. > - Fix code style errors reported by phpcs. > - Make the fixing of the unique attributes (name, id, etc) of input elements > of nested subform rows more errorprone, using the same method as the main > subform row. > - Manually add a minified version of the javascript file. This is the commit message joomla#6: > Fix failing javascript tests due to changed structure of subform repeatable template container. This is the commit message joomla#7: > Change subform repeatable javascript test to correctly check on > 0-indexed rows, previously they have been 1-indexed. This is the commit message joomla#8: > Fix a problem where multi-level subforms on the same level doesnt trigger their template correctly. > Additionally added a note why the fixScripts() method is broken and how it could get better. * Commit code styling errors and add an aria label for the outermost 'add' button. * Fix double group-add button on repeatable subform type.
b2z
pushed a commit
that referenced
this issue
Apr 7, 2023
Fix deprecation warning with PHP 8.1+ If a replacement string is used, but no 'quicktask' is defined `$params->get('menu-quicktask')` will return `null` which is deprecated in PHP 8.1+. Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in administrator/components/com_menus/src/Helper/MenusHelper.php on line 894
b2z
pushed a commit
that referenced
this issue
Apr 7, 2023
…t of type int (joomla#36775) Fixes `Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in libraries/src/Document/HtmlDocument.php on line 595`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Навеяно @Septdir, который писал в Телеграм, что у тех, кто знакомится с Joomla, первый вопрос чаще всего - а как тут сделать страницу? По моему мне ещё Сергей (vyatka) об этом же говорил.
Вот я подумал, а есть ли смысл в J4 делаеть такую фишку, как "Создание страницы". Да, сейчас вроде как есть создание пункта меню и в нём сразу создание материала. Близко, но не то.
Типа кликаешь в надпись "Создать страницу" и попадаешь сразу в создание материала. Когда его сохраняешь, автоматом создаётся пункт меню с таким же названием и алиасом. Знание о том, это просто материал или страница можно передавать в URL query. Типа:
administrator/index.php?option=com_content&view=article&layout=edit&page=1
Да, вроде бы есть такие плагины, но плагин надо устанавливать отдельно.
Единственная проблема, которая может быть - в каком именно меню создавать пункт, если на сайте несколько меню. Но это уже нюансы.
The text was updated successfully, but these errors were encountered: