Download: https://github.com/elasticsearch/elasticsearch-servicewrapper
- mv elasticsearch-servicewrapper/service /opt/elasticsearch/bin
- !# /opt/elasticsearch/bin/service/elasticsearch install
Service installes
| <?php | |
| /** | |
| * 9 Juni 2021 by Gerhard Kanzler | |
| **/ | |
| include "./vendor/autoload.php"; | |
| function renameYmlToYaml( DirectoryIterator $dir ){ | |
| $data = []; | |
| foreach( $dir as $node ){ |
| $sql = ' $von ' BETWEEN validStart AND validStop | |
| OR ' . $bis . ' BETWEEN validStart AND validStop | |
| OR validStart BETWEEN ' . $von . ' AND ' . $bis . ' | |
| OR validStop BETWEEN ' . $von . ' AND ' . $bis . '; |
| var gulp = require('gulp'); | |
| var concat = require('gulp-concat'); | |
| var uglify = require('gulp-uglify'); | |
| var imagemin = require('gulp-imagemin'); | |
| var minifyCSS = require('gulp-minify-css'); | |
| var autoprefixer = require('gulp-autoprefixer'); | |
| var sourcemaps = require('gulp-sourcemaps'); | |
| var please = require('gulp-pleeease'); | |
| var rename = require('gulp-rename'); |
| var css_href_array = []; | |
| (function () { | |
| "use strict"; | |
| // once cached, the css file is stored on the client forever unless | |
| // the URL below is changed. Any change will invalidate the cache | |
| var styleTags = document.getElementsByClassName('js-style'); | |
| function getBrowser() { | |
| var myAgent = navigator.userAgent.toLowerCase(); | |
| if( myAgent.indexOf('msie') != -1 && parseInt(myAgent.split('msie')[1]) == 8 ){ | |
| return 'ie8'; |
Download: https://github.com/elasticsearch/elasticsearch-servicewrapper
Service installes
| setTimeout(function(){ | |
| $('a').on('click', function(){ | |
| if( $(this).attr('href').match(/mailto:/) ){ | |
| _gaq.push(['_trackEvent', 'E-Mail', 'click', $(this).attr('href').replace('mailto:', '')]); | |
| } | |
| }); | |
| }, 1000); |
Do not show Unpublished Objects in frontend. Show the Objects only if i am logged in in Pimcore or click in objects on the Preview Button.
| if( window.self === window.top ){ | |
| //in Browser | |
| }else{ | |
| //in I-Frame | |
| } |
| How to use: | |
| =========== | |
| The only thing you need is the line below! | |
| The plugin Grabs all Tags: | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| <input type="checkbox" /> | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| // Inputs must be in the same <form> | |
| // This is not Tested, if there are error comment please | |
| var selectorFromInput = '.arrival'; | |
| var selectorToInput = '.departure'; | |
| var addDays = 7; | |
| $( selectorFromInput + ", " + selectorToInput).datepicker({ | |
| minDate:0, | |
| firstDay:1, | |
| onSelect:function (dateText, inst) { | |
| if($(this).hasClass(selectorFromInput.replace('.', ''))) { |