test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • carlucci Friend
    #150064

    I need to change in online, the default template to Native iPhone & Handheld support. Exactly as in the Drupal demo

    Anonymous Moderator
    #338921

    Hi carlucci

    please go to administrator -> Extension -> Template Manager -> edit ja ores template. In the preview page, you can handle it to your idea

    Hope it helps

    carlucci Friend
    #338937

    <em>@JA Developer 172830 wrote:</em><blockquote>Hi carlucci

    please go to administrator -> Extension -> Template Manager -> edit ja ores template. In the preview page, you can handle it to your idea

    Hope it helps</blockquote>

    Of course you can do with the Template Manager.
    I refer to an online, directly from the Desktop, without going by the administrator.
    View Demo Drupal: http://drupal-themes.joomlart.com/jd_purity/
    At the end of the page is a button, that clicking you can change the layout option.

    Saguaros Moderator
    #339081

    Dear carlucci!

    Here is the solution to resolve this issue:
    Please open the file: templatesja_oreslayoutsblocksusertoolslayout-switcher.php and find codes:
    [PHP]
    <?php
    if (!($mobile = $this->mobile_device_detect())) return;
    $handheld_view = $this->getParam(‘ui’);
    $switch_to = $handheld_view==’desktop’?’default’:’desktop’;
    $text = $handheld_view==’desktop’?’Mobile Version’:’Desktop Version’;
    ?>
    [/PHP]
    and replace:
    [PHP]
    <?php

    $handheld_view = $this->getParam(‘ui’);
    $switch_to = $handheld_view==’desktop’?’mobile’:’desktop’;
    $text = $handheld_view==’desktop’?’Mobile Version’:’Desktop Version’;
    ?
    [/PHP]

    Good luck

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

This topic contains 4 replies, has 3 voices, and was last updated by  Saguaros 14 years, 9 months ago.

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