link to change to forumotion mobile Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    link to change to forumotion mobile

    avatar
    mcdk
    Forumember


    Male Posts : 135
    Reputation : 1
    Language : Greek

    In progress link to change to forumotion mobile

    Post by mcdk October 31st 2015, 6:16 pm

    hello.
    can i put a link in the top of the forum to change into the forumotion mobile template instead of having it in the footer where the users usually do not look at?
    thanks.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51497
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: link to change to forumotion mobile

    Post by SLGray October 31st 2015, 7:47 pm

    Is there not a drop-down menu that has the link at the top?



    link to change to forumotion mobile Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    mcdk
    Forumember


    Male Posts : 135
    Reputation : 1
    Language : Greek

    In progress Re: link to change to forumotion mobile

    Post by mcdk October 31st 2015, 10:15 pm

    In the mobile addition , there is the top dropdown that you can go to the classic version of the forum.
    But after , you there is no link in the top toolbar to go to the mobile.
    There is only in the footer.
    THANKS
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: link to change to forumotion mobile

    Post by Ange Tuteur October 31st 2015, 10:31 pm

    Hi @mcdk,

    Try the following.

    Go to Modules > JavaScript codes management and create a new script with the following settings :

    Placement : In all the pages
    Code:
    $(function() {
      var mobi = $('a.small[href*="?mobile"]')[0], li, menu;

      if (mobi && _userdata.activate_toolbar) {
        $(function() {
          li = document.createElement('LI');
          menu = document.getElementById('fa_menulist');
         
          li.appendChild(mobi.cloneNode(true));
          menu.appendChild(li);
        });
      }
    });

    Save when you're finished and this script should add a link to the toolbar menu list.
    avatar
    mcdk
    Forumember


    Male Posts : 135
    Reputation : 1
    Language : Greek

    In progress Re: link to change to forumotion mobile

    Post by mcdk November 1st 2015, 12:36 am

    thanks i'll try this.
    and one more question.
    can i remove when someone is from mobile , the classic version? i mean the link that can choose the user to go into the classic version.
    furthermore , can i put over these some other link?
    thnaks.