Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • kelvinsn Friend
    #183096

    i can’t seem to be able to locate the header tag, i want to put a mobile redirect code, and requeires it should be put under the head section, where do i find this in the template, the code i want to put is this

    <script type=”text/javascript”>
    var mobile_domain =”m.domain.com”;
    // Set to false to not redirect on iPad.
    var ipad = true;
    // Set to false to not redirect on other tablets (Android , BlackBerry, WebOS tablets).
    var other_tablets = true;
    document.write(unescape(“%3Cscript src='”+location.protocol+”//s3.amazonaws.com/me.static/js/me.redirect.min.js’ type=’text/javascript’%3E%3C/script%3E”));
    </script>

    Luna Garden Moderator
    #476270

    Hello Kelvinsn,

    In order to edit in head block, copy this based header file in T3V2 folder:

    <blockquote>pluginssystemjat3jat3base-themesdefaultblockshead.php</blockquote>

    to appropriate folder in template folder: <blockquote>templatesja_nexblockshead.php</blockquote>

    and add your code to the end of this file.

    we recommend to override the based file like this since when you update JAT3 framework, your changes would not be affected.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Luna Garden 11 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum