Interesting, but I couldn't find "Field blocks" in the list of available modules.
A little off topic, but maybe it will be useful to someone.
For some it's easier to work with layouts...
Hi Andrés,
Can you please post more details about the layout itself? For example, you could export the layout and post it here.
Also, when you say "If I try to add new content, of...
Posted1 day 8 hours ago by Alejandro Cremaschi (argiepiano) on:
So it's a two-step process:
$av= list_allowed_values_string($t); // where $t is the assoc array of keys=>values
$asv=list_extract_allowed_values($av, 'list_text', false);//...
Solved it by reading the list module code...
Example here:
function torch_save_appstatus($stat=array()){
if(empty($stat)){
$stat = torch_get_status();...
The config>active directory has all the json files that were copied when Softaculous did the staging setup, so it isn't empty, and it does exist. I've had problems moving/copying config...
Comments
This issue may be related (and it looks like it has a PR that can be tested):
https://github.com/backdrop/backdrop-issues/issues/2134
That PR wont be in production any time soon. But you could make a quick access condition module, its quite simple. Use as a guide: https://github.com/backdrop/backdrop/blob/1.x/core/modules/layout/plugins/access/path_layout_access.inc or https://github.com/backdrop-contrib/block_scheduler
Your form function would probably be something like:
And your access function:
Some adjustment may be necessary.
As an easy workaround without any coding Views could be your friend.
We'd need some more info about your use-case though. Could you describe a bit more, please?