Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • chrysanthoscy Friend
    #189756

    hi
    is there any way to have an option to switch from mobile to full site (no-responsive)?
    I’m using JA University on joomla 2.5 🙂

    Thanks in advance

    Saguaros Moderator
    #502411

    Hi chrysanthoscy,

    I’m wondering why you wanna remove this great feature :). You can try this way:

    – Goto template manager > Layout tab
    – Edit and remove the extra loaded css files:

    Once done, clean JAT3 cache.

    Hope it helps.

    chrysanthoscy Friend
    #502573

    hi Saguaros, thanks for helping me but it isn’t what i need.

    What i need is the option for the visitor to switch between desktop version and mobile version(responsive) on the frontend.
    Any thoughts?

    Saguaros Moderator
    #502611

    Hi

    You can add this snippet of code to your desired php file:

    [PHP]
    <?php
    $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 toggle button btn-switchlayout” href=”<?php echo JURI::base()?>?ui=<?php echo $switch_to?>” onclick=”return confirm(‘<?php echo JText::_(‘SWITCH_TO_STANDARD_MODE_CONFIRMATION’)?>’);” title=”<?php echo JText::_($text)?>” ><span><?php echo JText::_($text)?></span></a>
    [/PHP]

    Once done, clean JAT3 cache.

    chrysanthoscy Friend
    #502688

    where is this file located?
    plugins/system/jat3/jat3/base-themes/……..

    Saguaros Moderator
    #502789

    The file will depend on place you want to put option for switching between 2 versions, then you edit the associated file. And it’s better if it’s located in template folder, not the based file of JAT3 plugin 🙂

    chrysanthoscy Friend
    #502832

    i want to put it to the footer of the handheld version

    Saguaros Moderator
    #502856

    You can give it a try with this file: pluginssystemjat3jat3base-themesdefaultblockshandheldfooter.php

    chrysanthoscy Friend
    #502874

    EDIT:

    the button now works but desktop layout is still responsive..

    Saguaros Moderator
    #503534

    Hi

    What do you mean by ‘desktop layout is still responsive’ here? Which file did you add above code?

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

This topic contains 10 replies, has 2 voices, and was last updated by  Saguaros 11 years, 2 months ago.

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