Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 1 match
Smarty Forum Index
Author Message
  Topic: Simple Smarty Detect Mobile If/Else Plugin
stevefrise

Replies: 2
Views: 12574

PostForum: Plugins   Posted: Tue Oct 28, 2014 10:38 pm   Subject: Simple Smarty Detect Mobile If/Else Plugin
I am trying to write a simple Smarty plugin that will detect whether or not a user is on mobile and use a simple if/else to show content. I am using <?php
$useragent=$_SERVER['HTTP_USER_AGENT' ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP