Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • ceeyee Friend
    #188274

    Hi,

    I want all devices to view only the desktop version.
    In Profiles->Advanced Settings->Layout Settings, I changed handheld, iphone, and android to Disabled.

    However, when I view the website using an iphone, there’s a “DESKTOP VERSION” link or “MOBILE VERSION” link showing up in the bottom right.

    I tried changing all to Default but that didn’t work either.

    Is there a way to hide/remove that for all mobile devices?

    Also is there anything else that I need to do to make sure all devices are viewing my desktop version only, besides the settings above?

    Thanks.


    1. MO
    Ninja Lead Moderator
    #496040

    You can remove it here

    Open plugins/system/jat3/jat3/base-themes/default/blocks/navhelper.php file

    From


    <ul class="ja-links">
    <?php echo $layout_switcher ?>
    <li class="top"><a href="javascript:scroll(0,0)" title="<?php echo JText::_("BACK_TO_TOP") ?>"><?php echo JText::_('TOP') ?></a></li>
    </ul>

    Change to


    <ul class="ja-links">
    <?php //echo $layout_switcher ?>
    <li class="top"><a href="javascript:scroll(0,0)" title="<?php echo JText::_("BACK_TO_TOP") ?>"><?php echo JText::_('TOP') ?></a></li>
    </ul>

    Remember to clear cache from Admin area after changing

    ceeyee Friend
    #496182

    I tried this method but the link is still there on iphone browser.
    Why?

    <em>@Ninja Lead 376996 wrote:</em><blockquote>You can remove it here

    Open plugins/system/jat3/jat3/base-themes/default/blocks/navhelper.php file

    From


    <ul class="ja-links">
    <?php echo $layout_switcher ?>
    <li class="top"><a href="javascript:scroll(0,0)" title="<?php echo JText::_("BACK_TO_TOP") ?>"><?php echo JText::_('TOP') ?></a></li>
    </ul>

    Change to


    <ul class="ja-links">
    <?php //echo $layout_switcher ?>
    <li class="top"><a href="javascript:scroll(0,0)" title="<?php echo JText::_("BACK_TO_TOP") ?>"><?php echo JText::_('TOP') ?></a></li>
    </ul>

    Remember to clear cache from Admin area after changing</blockquote>

    Ninja Lead Moderator
    #496226

    I will fix this problem directly on your site. Please pm me url, admin access and ftp account of your site. I shall help you out

    ceeyee Friend
    #496309

    The details were sent. Thank you.

    <em>@Ninja Lead 377229 wrote:</em><blockquote>I will fix this problem directly on your site. Please pm me url, admin access and ftp account of your site. I shall help you out</blockquote>

    Ninja Lead Moderator
    #496384

    I helped you remove it

    Open templates/ja_teline_iii/blocks/footer.php file

    Find

    <li><?php echo $layout_switcher ?></li>
    <li class="user-reset">
    <a href="#" onclick="reset_usersetting();" title="<?php echo JText::_('RESET_USER_SETTING')?>">
    <span><?php echo JText::_('RESET_USER_SETTING')?></span>
    </a>
    </li>

    Change to

    <li><?php //echo $layout_switcher ?></li>
    <li class="user-reset">
    <a href="#" onclick="reset_usersetting();" title="<?php echo JText::_('RESET_USER_SETTING')?>">
    <span><?php echo JText::_('RESET_USER_SETTING')?></span>
    </a>
    </li>

    Please check it again, let me know if it helps

    ceeyee Friend
    #496425

    Thank you very much.

    <em>@Ninja Lead 377437 wrote:</em><blockquote>I helped you remove it

    Open templates/ja_teline_iii/blocks/footer.php file

    Find

    <li><?php echo $layout_switcher ?></li>
    <li class="user-reset">
    <a href="#" onclick="reset_usersetting();" title="<?php echo JText::_('RESET_USER_SETTING')?>">
    <span><?php echo JText::_('RESET_USER_SETTING')?></span>
    </a>
    </li>

    Change to

    <li><?php //echo $layout_switcher ?></li>
    <li class="user-reset">
    <a href="#" onclick="reset_usersetting();" title="<?php echo JText::_('RESET_USER_SETTING')?>">
    <span><?php echo JText::_('RESET_USER_SETTING')?></span>
    </a>
    </li>

    Please check it again, let me know if it helps</blockquote>

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

This topic contains 7 replies, has 2 voices, and was last updated by  ceeyee 11 years, 4 months ago.

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