dimitrilongo / grav-plugin-mobile-detect Goto Github PK
View Code? Open in Web Editor NEWThe Grav Mobile Detect Plugin for Grav CMS adds the ability to detect mobile devices (including tablets)
License: Other
The Grav Mobile Detect Plugin for Grav CMS adds the ability to detect mobile devices (including tablets)
License: Other
There seems to be an issue when using Grav's page caching.
When enabled the {{ isMobile() }}
and {{ isTablet() }}
vars only work intermittently on mobiles/tablets and even intermittently gives a false positive resulting in mobile style sheets etc being loaded for desktop browsers.
Same kind of issue with Drupal https://www.drupal.org/node/1889824
Hi @dimitrilongo !
Thanks for this nice plugin.
Do you think it's possible to detect if user device have touch support?
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
composer.json
php >=7.1.3
do this
{% if isMobile() %}
{% include 'partials/firstmob.hmtl.twig' %}
{% else %}
{% include 'partials/first.hmtl.twig' %}
{% endif %}
but nothing...
what i do wrong
Hey!
Your forgot to update the version in blueprint with last release:
Hi!
First thank you for this nice plugin.
I was wondering why don't you use Composer to handle dependencies.
Also could you update Mobile-Detect to the latest: `2.8.30 ``
Cheers!
Hi,
I use the very last version of grav and tried to upgrade mobile-detect to versions 1.4.x but it didn't work. I got a "failed to open stream: No such file or directory" on /mobiledetect/mobiledetectlib/Mobile_Detect.php.
I went back to 1.3.x and things worked again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.