Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • jay973 Friend
    #146169

    Is it possible to Have The Mobile / Desktop button on the bottom of this template like the Kyanite ones?

    Cheers,

    J

    Saguaros Moderator
    #324200

    Hello

    we can do this :),

    Please open the “templatesja_halitelayoutsblocksusertoolslayout-switcher.php” file.
    And replace source code by mine

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

    <a class=”ja-tool-switchlayout” href=”<?php echo JURI::base()?>?ui=<?php echo $switch_to?>” title=”<?php echo JText::_($text)?>”><span><?php echo JText::_($text)?></span></a>
    [/PHP]

    jay973 Friend
    #324298

    Hi,

    Thanks, it now shows the button but the template doesn’t switch to the mobile version like Kyanite

    Cheers,

    J.

    islandview Friend
    #324303

    I’d be interested in having this too – If only to test out the mobile version where I can’t get a mobile!!! I have a suspicion that with Halite, the main nav ‘Menu’ doesn’t work with Blackberry devices… It’s shows a drop-down field – but nothing drops down!

    Anyone confirm or deny that?!

    Saguaros Moderator
    #324314

    On my site is work well, I think you should give me the link to your site.

    Saguaros Moderator
    #324317

    Hello

    ok, that’s right, if we only make changes in the lay out-switcher.php file, it still do not switch to mobile version.

    I have compared the ja halite and ja kyanite ii, i saw the difference of the ja library.
    So many files were updated in the ja kyanite II, i tried to find those files to help us update for the ja halite.

    You can download my package
    6298

    I tested very careful when used my package for my site and many sites. all are working well. Please kindly backup before updated ( if use ).

    Saguaros Moderator
    #324318

    Hello acbonner!

    Now, you try to access the configuration of the ja halite template, you assign “IPHONE” for the Other Handheld Devices parameter.

    jay973 Friend
    #324326

    <em>@tienhc 153816 wrote:</em><blockquote>Hello

    ok, that’s right, if we only make changes in the lay out-switcher.php file, it still do not switch to mobile version.

    I have compared the ja halite and ja kyanite ii, i saw the difference of the ja library.
    So many files were updated in the ja kyanite II, i tried to find those files to help us update for the ja halite.

    You can download my package
    6298

    I tested very careful when used my package for my site and many sites. all are working well. Please kindly backup before updated ( if use ).</blockquote>

    Hi,

    I tried to download the file but I got this message:

    Invalid Attachment specified. If you followed a valid link, please notify the administrator

    Cheers,

    J.

    Saguaros Moderator
    jay973 Friend
    #324329

    Hi,

    No, I get the same message:

    Invalid Attachment specified. If you followed a valid link, please notify the administrator

    Cheers,

    J.

    Saguaros Moderator
    #324477

    please try to download

    jay973 Friend
    #324478

    Excellent, it works great now!

    Thanks for your effort.

    thatch10 Friend
    #325145

    Cheers Guys. For these Iphone and compatible layouts to work it must be down to the user to select the view. JA Halite template download should be revised and this functionality incorportated, basic functionality which is required in my book.

    Thatch

    bluefcnet Friend
    #327604

    Could someone please guide me to what I should do with this attachment?

    Thank you.

    Saguaros Moderator
    #327755

    You open the folder: templatesja_halite you upgrade files inside this folder

Viewing 15 posts - 1 through 15 (of 17 total)

This topic contains 17 replies, has 5 voices, and was last updated by  Saguaros 14 years, 10 months ago.

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