Submitted by melinda on Sun, 10/15/2023 - 16:04
$("a[href]:not([href*='"+window.location.host+"']):not([href^='/']):not([href*='volleyball'])").on("click",l)}
If the URL contains "volleyball' in it, the leaving site lightbox warning does not come up and the user is redirected to the site.
Submitted by melinda on Mon, 09/11/2023 - 23:15
Submitted by melinda on Mon, 08/28/2023 - 00:37
If you are trying to using Power Automate and following "I Am Lu" s Tutorial and you get a Bad Gateway error in your power automate. The Key was not made correctly. I am not sure if it is because I am on a Mac and Lu is on a Windows but if you want the flow to connect to AWS then run the below command in your terminal to get the correct SSH Key.
ssh-keygen -m PEM
The key should start with:
-----BEGIN RSA PRIVATE KEY-----
Submitted by melinda on Sat, 07/29/2023 - 23:11
To add the condition for the Admin token flow here> https://powerautomate.microsoft.com/en-us/blog/automate-flow-governance/
Condition Basic Edit does not exist anymore for you would do this instead.
In the first condition field put an expression containing:
@or(equals(items('Apply_to_each_2')['Operation'], 'CreateFlow'),equals(items('Apply_to_each_2')['Operation'], 'EditFlow'))
in the second field put in an expression containing:
Submitted by melinda on Wed, 07/12/2023 - 09:26
Ran into this issue and the simple answer wasn't too easy to find.
GO into you view
Go to the "PAGER" section (in the middle)
Submitted by melinda on Thu, 06/22/2023 - 19:13
1. First copy and paste the confirmation twig template for webforms in the webforms module.
Then add a div to the twig template like this.
<div id="learning-objective-data"> </div>
In the div place your webform submission data token for the field you would like to grab
{{ webform_submission.data.Your Webform Field }}
So it looks like this:
<div id="learning-objective-data">
{{ webform_submission.data.question1 }}
</div>
Submitted by melinda on Wed, 05/17/2023 - 09:21
<div class="summary">
{% set text = content.body['#object'].body.summary|render %}
{{ text|length > 80 ? text|slice(0, 80)|raw ~ '...' : text|raw }}
{% set text = content.body['#object'].body.summary|render|striptags %}
{{ text|length > 80 ? text|slice(0, 80) ~ '...' : text }}
</div>
Submitted by melinda on Tue, 04/11/2023 - 17:10
Recreating the process that's on our site.
Create Media type for the Colorbox image.
a. Add media type
b. I named mine Lightbox image
c. Media Source
d. Media source configuration = -Create -
e. Field mapping- I only used "Name" as "Name"
f. Publish options = "Published" is ticked
g. Click the sprocket and change the image size to what suits you
h. sAve
Submitted by melinda on Tue, 03/21/2023 - 12:17
Trigger
When content is updated
condition
Text comparison
Data selector: @rules.current_path_context:current_path.path
Operator: contains
Matching text (direct input mode) : /yourdisplaypath. (For instance, mine was /steps)
Submitted by melinda on Mon, 03/20/2023 - 20:55
For reference:
Node Author's email address: {{ node.uid.entity.mail.value }}
Node created: {{ node.created.value }}
Node Title: {{ node.title.value}}
Author's Username: {{ node.uid.entity.name.value }}
Node Edit Link: your website/node/{{ node.nid.value }}/edit
Example of my rule message body:
Hi {{ node.uid.entity.name.value }},
Pages