Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

[Solved] enable plugin in mobile

edited August 2012 in Questions

how to used/enable plugin in mobile site? like i want to enable vote plugin in mobile site

Comments

  • peregrineperegrine MVP
    edited August 2012

    the reason many plugins are removed is because they throw off formatting in mobile devices.

    any plugin that you want to use with mobile has to have the following line in the $PluginInfo array.

    'MobileFriendly' => TRUE,

    The $PluginInfo array is generally found in default.php or in the class"ThePlugin.plugin.php" plugin directory.

    So, in class.voting.plugin.php
    
    you could add
    
    'MobileFriendly' => TRUE,
    
    after line
    
    'RequiredApplications' => array('Vanilla' => '2.0.17'),
    
    
    
    like so:
    
    'RequiredApplications' => array('Vanilla' => '2.0.17'),
     'MobileFriendly' => TRUE,
    

    factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!

    Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant

    HalfCatjohn_hrangkhol
  • thankz for the info. i will try it now.

  • wow..!!! thankz it works. I owe you. you can see view it http://www.trantopic.com

Sign In or Register to comment.