inherit
114253
0
Apr 1, 2024 6:38:35 GMT -8
Teg
Can't Wait for V6
3,138
November 2007
teg
|
Post by Teg on Nov 8, 2018 16:04:00 GMT -8
Is there a way (when using a custom coded nav menu), to include specific links for mobile and different links for desktop? I thought I could use something like {if $[current_user.is_mobile]}Stuff {else} Stuff{/if}. Am I missing something or doing something wrong?
|
|
#e61919
Support Staff
224482
0
1
May 2, 2024 16:42:23 GMT -8
Scott
23,331
August 2015
socalso
|
Post by Scott on Nov 8, 2018 16:33:00 GMT -8
Teg, the mobile version isn't affected by template modifications. (Same principle as plugins don't work on mobile.)
|
|
inherit
114253
0
Apr 1, 2024 6:38:35 GMT -8
Teg
Can't Wait for V6
3,138
November 2007
teg
|
Post by Teg on Nov 8, 2018 16:39:59 GMT -8
Teg, the mobile version isn't affected by template modifications. (Same principle as plugins don't work on mobile.) I know... I’m talking about the desktop version on mobile.. I’m not using the regular navigation, I coded my own drop-down sticky nav. The links aren’t in the default nav area and aren’t added through the navigation options.
|
|
#e61919
Support Staff
224482
0
1
May 2, 2024 16:42:23 GMT -8
Scott
23,331
August 2015
socalso
|
Post by Scott on Nov 8, 2018 16:53:41 GMT -8
Teg, ah gotta, sorry. There isn't a current user is mobile variable, but there is this: $[is_mobile_browser] Could you code with that?
|
|
inherit
114253
0
Apr 1, 2024 6:38:35 GMT -8
Teg
Can't Wait for V6
3,138
November 2007
teg
|
Post by Teg on Nov 8, 2018 17:11:26 GMT -8
Teg , ah gotta, sorry. There isn't a current user is mobile variable, but there is this: $[is_mobile_browser] Could you code with that? That worked! Thank you
|
|