$ tar -xvf vmName.ova
$ vi vmName.ovf
{% extends 'shop/_layouts/main' %} | |
{% block main %} | |
{{ sprig('product_content', {productId: product.id}) }} | |
{{ sprig.script }} | |
{% endblock %} |
// helpers.js | |
const loadSingleEntryPoint = ({ | |
// Elements selectors | |
els = [], | |
// Execute something before the actual load of the module | |
beforeLoad = (el) => {}, | |
// Perform module load & return a Promise |
Official SubReddit: https://www.reddit.com/r/Spotifyhosts/ | |
FOLLOW DOWN | |
| | | |
| | | |
\ | / \ | / | |
\|/ \|/ |
var lastLogoUrl = '{{route('storage.companies.logo', ['file' => basename($cmpny->logo)])}}'; | |
{{-- var isLogoUpdated = false; --}} | |
var updatedData = null; | |
var oldData = null; | |
var form = null; | |
var dataToSend = null; |
class EventCatcher | |
{ | |
/** | |
* @var array | |
*/ | |
protected $classConstants = []; | |
public function __invoke(yii\base\Event $event) | |
{ |
{# Get the categories related to my "entrySection" entries in structure order #} | |
{% set entries = craft.entries.section('entrySection') %} | |
{% set relatedCats = craft.categories.relatedTo(entries) %} | |
{# Loop the categories #} | |
{% for category in relatedCats %} | |
{{ category.title }} | |
{# Get and loop through entries related to this cat #} |
// Get the template HTML and remove it from the doument. | |
var previewNode = document.querySelector("#template"); | |
previewNode.id = ""; | |
var previewTemplate = previewNode.parentNode.innerHTML; | |
previewNode.parentNode.removeChild(previewNode); | |
var myDropzone = new Dropzone(document.body, { // Make the whole body a dropzone | |
url: "/target-url", // Set the url | |
thumbnailWidth: 80, | |
thumbnailHeight: 80, |