Sorry, it did seem confusing when I read it back...
So if I add some html to a text field, for example in a page or a block, whatever the text format of the field may be (raw html or basic...
Posted14 hours 38 min ago by (beckdalecreative) on:
Could you please post clear, step by step instructions to reproduce the problem? Your first message refers to HTML content, and your second to text formats. Please add details to reproduce each...
Posted18 hours 23 min ago by Alejandro Cremaschi (argiepiano) on:
Just confirmed that this issue is happening when I install backdrop via ftp.
It's not possible for me to add or edit and text formats, even if ckeditor is disabled. This is a clean install...
Posted19 hours 32 min ago by (beckdalecreative) on:
Thank you for the suggestion and for helping clarify the possible relation between user status and newsletter subscriptions.
I followed your advice and opened an issue in the...
Posted4 days 4 hours ago by Antony Milenkov (amilenkov) on:
@Amilenkov, I agree with your thoughts regarding the relation between subscription and user status. Are you up to open an issue report in the Simplenews issue queue with the suggestion to make...
Posted4 days 17 hours ago by Olaf Grabienski (Olafski) on:
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:
$form['nid'] = array( '#type' => 'textfield', '#title' => t('Node NID'), '#default_value' => isset($this->settings['nid']) ? $this->settings['nid'] : '', ); $form['term'] = array( '#type' => 'textfield', '#title' => t('Term'), '#default_value' => isset($this->settings['term']) ? $this->settings['term'] : '', );And your access function:
function checkAccess() { $entity = $this->contexts[$this->entity_type]->data; return isset($entity->{$this->settings['term']}); }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?