Jump to content
Sign in to follow this  
kral_barmen

Mobile Detect Çalıştıramıyorum

Recommended Posts

Merhaba Arkadaşlar, 1.6.1.17 Sürümünde Siteye Mobile-Detect Class İnclude Yapıp bunu Temanın Bazı Yerlerinde Kullanmak İstiyorum Ancak Bir Türlü Başaramadım.

 

Aşağıdaki Kodu PrestaShopta Nasıl Kullanabilirim.

// Include and instantiate the class.
require_once 'Mobile_Detect.php';
$detect = new Mobile_Detect;
 
// Any mobile device (phones or tablets).
if ( $detect->isMobile() ) {
 
}

 

Yardımlarınızı Bekliyorum. 

Edited by kral_barmen (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More