Open klonos opened 9 months ago
Here's a suggestion for the text to get us started:
If none of the above templates is suitable for your needs, you can search for more and add them to your site from the "Install new layout templates" tab above, or even try creating your own custom ones in the "Layout templates" tab next to it.
I may have expanded a tiny bit on the original mission.
I added this line of help text. I think it helps expose people to the option of creating their own flexible layout template, which is otherwise a bit hidden.
I added this line of help text, but would like to move this above the "Add flexible layout template" link, but I don't know how .
I added this line, because I think it's easy to arrive at this page and think you are in the wrong place, because there is no place to build a template here. Short text is intended to let people know that the good part is coming up after naming your template.
Thanks @stpaultim 🙏🏼 ...here's a few thoughts/ideas (some could or should be separate issues):
target="_blank"
to the properties of the <a>
HTML tag. Alternatively in our case, since the elements that we want to refer to are present and visible, we can refer to them ("click the XYZ tab above").MENU_LOCAL_ACTION
) and are treated specially: they are always printed right after the primary/secondary tabs section (see core/modules/system/templates/page-components.tpl.php
) ...so I don't mind leaving them where they are now. Perhaps add the help text in a "What are flexible layout templates" fieldset, like we have done in admin/structure/layouts/settings
with the "How layouts work" fieldset.admin/structure/layouts/manage/%
as "Layout builder" (which is good for people coming from Drupal-land I believe), so perhaps we should start referring to the UI in admin/structure/layouts/settings/flexible-template/%/configure
as "Layout template builder" or just "Template builder".admin/structure/layouts/settings
to something like:
There are two types of layout templates when it comes to the way they are created:
- Flexible layout templates can be created and edited via the Template builder, an interface that allows building layout templates with custom regions via drag and drop.
- Standard layout templates are written in PHP code, and some are already provided by Backdrop CMS core. Additional community-provided templates can be installed from the "Install new layout templates" tab above, or custom-coded templates can be developed and added in the
layouts
directory of your site.Both types of templates are listed below. You can limit which of them will be available when creating layouts by enabling/disabling them.
With regards to the help text added to the "Add template" dialog, I like it and find it useful, but wondering if while at it we bring some consistency to it and use the same "save and do something" UI pattern we are already using when adding views, vocabularies, and content types. So:
If we did the above points, would the help text still be needed, or would the "Save and configure regions" primary button suffice?
This is similar to #6309 but for the layouts UI.
While for most of us "chronic" Backdrop users certain things are obvious, they may not be that obvious to people new to our CMS. See discussion in this thread in Zulip for more context: https://backdrop.zulipchat.com/#narrow/stream/218635-Backdrop/topic/Flexible.20layouts/near/392081383
Lets add some help text that a minimum indicates that if none of the available templates is suitable, more can be added either from the "Install new layout templates" tab (ready-made), or from the "Layout templates" tab (create new templates with custom number of rows rows and region widths).