brew install ios-webkit-debug-proxy
Run the simulator. And choose an iOS 10 device. The chrome remote debugging doesn't work with iOS 11 yet.
| # add snippet into <head> | |
| [[BabelLinks? | |
| &tpl=`babelCanonicalTag` | |
| &showCurrent=`1` ]] | |
| # create chunk with name babelCanonicalTag | |
| <link rel="alternate" hreflang="[[+cultureKey]]" href="[[+url]]"> |
| import Swiper from "swiper/bundle"; | |
| import "swiper/swiper-bundle.css"; | |
| window.addEventListener( | |
| "load", | |
| () => { | |
| // swiper | |
| var slider = document.querySelectorAll(".swiper-container"); | |
| for (let index = 0; index < slider.length; index++) { | |
| slider[index].classList.add("swiper-container-" + index); |
<?php
/**
* Created by PhpStorm.
* User: pg
* Date: 30.01.19
* Time: 18:10
*/
function getPublicInfo($tag) {| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteCond %{REQUEST_FILENAME} !-s | |
| RewriteRule ^(.*)$ rest/index.php?_rest=$1 [QSA,NC,L] | |
| RewriteCond %{REQUEST_FILENAME} -d | |
| RewriteRule ^(.*)$ rest/index.php [QSA,NC,L] | |
| </IfModule> |
| // js | |
| <script> | |
| if(typeof addResults === "undefined"){ | |
| var page = 1; | |
| } else { | |
| var page = addResults; | |
| } |
| {foreach $_modx->resource['adv.Index'] | fromJSON as $item} | |
| <div class="col-xs-12 col-sm-6 col-md-4"> | |
| <div class="icon-box left media p-0 mb-40"> | |
| <div class="media-left pull-left"><i class="{$item['icon']} text-theme-colored"></i></div> | |
| <div class="media-body"> | |
| <p class="media-heading heading h5">{$item['title']}</p> | |
| <p>{$item['desc']}</p> | |
| </div> | |
| </div> | |
| </div> |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
| // Dashboard widget to show number of Manager messages | |
| $id = $modx->user->get('id'); | |
| $output = 'No messages.'; | |
| $total = $modx->getCount('modUserMessage',array( | |
| 'recipient' => $id, | |
| )); | |
| if($total) { | |
| $output = 'You have ' . $total . ' messages'; | |
| $unread = $modx->getCount('modUserMessage',array( | |
| 'recipient' => $id, |