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.

link to change to forumotion mobile

3 posters

Go down

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.
avatar
mcdk
Forumember

Male Posts : 135
Reputation : 1
Language : Greek

Back to top Go down

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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

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
avatar
mcdk
Forumember

Male Posts : 135
Reputation : 1
Language : Greek

Back to top Go down

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.
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

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.
avatar
mcdk
Forumember

Male Posts : 135
Reputation : 1
Language : Greek

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum