- Name: Consent Mode
- Type: Customm HTML
- Content: code block below
- Trigger: Consent Initialization - All Pages
<button type="button" class="cc-modal__button--settings" onclick="openCCModal('cc-accept')" aria-label="cookie settings">
cookie| #!/bin/bash | |
| # This script will start deployment | |
| # $ ~/bin/deploy | |
| # $ chmod +x ~/bin/deploy | |
| ################################################################################ | |
| # Help # | |
| ################################################################################ | |
| Help() | |
| { |
Last updated March 28, 2021
There are now two ways to approach this:
This Gist explains how to do this using gpg in a step-by-step fashion. Kryptonite is actually wickedly easy to use-but you will still need to follow the instructions
| // Store this script in templates/<your-template>/js/rsform-preview.js | |
| /** | |
| * Create the Review Field based on array with questions | |
| * | |
| * @param formIdValue | |
| * @param previewPageNumber | |
| * @param totalPages | |
| * @param validateOnChangingPage | |
| */ |
| /* eslint-disable */ | |
| jQuery(document) | |
| .ready(function ($) { | |
| 'use strict'; | |
| var form = document.getElementById('userForm'); | |
| var userForm = $('#userForm'); | |
| var formId = getFormId(); | |
| var storagePrefix = 'form' + formId + '_'; |
| /* | |
| * Add the MailHog to your wordpress projects | |
| * By Khalid Ahmada | |
| * MailHog @see https://github.com/mailhog/MailHog | |
| */ | |
| class WP_MAILHOG | |
| { | |
| function __construct() |
| For that, you need Terminal. Here’s how to change where screenshots are saved Mac Terminal style: | |
| 1. On your Mac, create a folder called ”Screenshots” (or anything else you like) | |
| 2. Go to Applications > Utilities and double-click on Terminal | |
| 3. Type this command: `defaults write com.apple.screencapture location` | |
| 4. Drag the “Screenshots” folder you’ve just created onto the Terminal window. You’ll see its path displayed after the command. | |
| 5. Hit Return | |
| 6. Quit Terminal |
| (function() { | |
| 'use strict'; | |
| var DURATION = 150; | |
| var ringElem = null; | |
| var movingId = 0; | |
| var prevFocused = null; | |
| var keyDownTime = 0; |
| <?php | |
| defined('_JEXEC') or die; | |
| /** | |
| * Example implementation | |
| * | |
| * $data = array(); | |
| * foreach ($this->item->faqs as $key => $faq) |
| <?php | |
| /** | |
| * @package Joomla.Site | |
| * @subpackage mod_articles_category | |
| * | |
| * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. | |
| * @license GNU General Public License version 2 or later; see LICENSE.txt | |
| */ | |
| defined('_JEXEC') or die; |