Mobile / Browser Detection in Template

Unmaintained Mobile / Browser Detection in Template 1.0.0

No permission to download

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
S.V.I.P.S Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
11,613
Points
823

Reputation:

ENXF NET submitted a new resource:

Mobile / Browser Detection in Template - Mobile detection in template

  • Tested with XF 2.1.
  • Not tested yet with XF 2.0, but i think it should work.
  • Check FAQ section above.
With this addon you can use template syntax in any template like this :
PHP:
<xf:if is="cutemb_is_mobile()">
    You are using mobile
<xf:else />
    You are not using mobile
</xf:if>

<xf:if is="cutemb_is_mobile()">
    You are using mobile
</xf:if>

<xf:if is="! cutemb_is_mobile()">
    You are not using mobile
</xf:if>
There are even additional...

Read more about this resource...
 
Top