This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace CopeX\LandingPageIdentifier\Block\Adminhtml\Page\Widget; | |
use Magento\Backend\Block\Template\Context; | |
use Magento\Backend\Helper\Data; | |
use Magento\Cms\Model\Page; | |
use Magento\Cms\Model\PageFactory; | |
use Magento\Cms\Model\ResourceModel\Page\CollectionFactory; | |
use Magento\Framework\View\Model\PageLayout\Config\BuilderInterface; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define([ | |
'jquery', | |
], function ($) { | |
// modified from same-domain version at www.dyn-web.com/tutorials/iframes/height/ | |
function setIframeHeightCO(id, ht) { | |
var ifrm = document.getElementById(id); | |
// some IE versions need a bit added or scrollbar appears | |
ifrm.style.height = ht + 4 + "px"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
</head> | |
<body> | |
<script> | |
// Get height of document | |
function getDocHeight(doc) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"replace": { | |
"magento/module-advanced-pricing-import-export": "*", | |
"magento/module-amqp": "*", | |
"magento/module-analytics": "*", | |
"magento/module-authorizenet": "*", | |
"magento/module-bundle-import-export": "*", | |
"magento/module-catalog-analytics": "*", | |
"magento/module-customer-analytics": "*", | |
"magento/module-customer-import-export": "*", | |
"magento/module-cybersource": "*", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$local = include('config.local.php'); | |
$prod = include('config.prod.php'); | |
echo "modules in local but not in prod" . PHP_EOL; | |
foreach($local['modules'] as $module => $value){ | |
if(!isset($prod['modules'][$module])){ | |
echo $module . PHP_EOL; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> | |
<body> | |
<referenceBlock name="footer_links" remove="true" /> | |
<referenceContainer name="header-wrapper"> | |
<block class="Smile\ElasticsuiteCore\Block\Search\Form\Autocomplete" name="top.search" as="topSearch" template="Smile_ElasticsuiteCore::search/form.mini.phtml"> | |
<arguments> | |
<argument name="rendererList" xsi:type="array"> | |
<item name="term" xsi:type="array"> | |
<item name="title" xsi:type="string" translate="true">Search terms</item> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* DISCLAIMER | |
* | |
* Do not edit or add to this file if you wish to upgrade Smile Elastic Suite to newer | |
* versions in the future. | |
* | |
* | |
* @category Smile | |
* @package Smile\ElasticsuiteCore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* CopeX GmbH https://copex.io | |
* Created by PhpStorm. | |
* User: roman | |
* Date: 13.01.18 | |
* Time: 21:23 | |
*/ | |
$dev = include 'config.dev.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: copex/ci | |
before_script: | |
# Install ssh-agent if not already installed, it is required by Docker. | |
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y ) | |
# Run ssh-agent (inside the build environment) | |
- eval $(ssh-agent -s) | |
# Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store | |
- ssh-add <(echo "$SSH_PRIVATE_KEY") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Academic Free License (AFL 3.0) | |
* that is bundled with this package in the file LICENSE_AFL.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/afl-3.0.php |
NewerOlder