Skip to content

AnthonyMeedle/SmartyPhoneDesktop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smarty Redirection

This module adds a smarty function to redirect the user directly from a template

Installation

Manually

  • Copy the module into <thelia_root>/local/modules/ directory and be sure that the name of the module is SmartyRedirection.
  • Activate it in your thelia administration panel

Usage

You can use the {phone} or {desktop} return true

Example

{if {phone}}
    View Phone
{/if}
{if {desktop}}
    View Desktop
{/if}

About

Detecte if phone or desktop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages