N NeoCHI Active member Mar 16, 2015 #1 Is there a way to give members a link to disable responsiveness and view as desktop version?
Jake Bunce Well-known member Mar 16, 2015 #3 Admin CP -> Appearance -> Templates -> PAGE_CONTAINER At the top you will see this line: Code: <xen:set var="$isResponsive" value="{xen:if '@enableResponsive AND !{$noResponsive}', 1, 0}" /> You can replace it with code like this to check a custom user field: Rich (BB code): <xen:if is="{$visitor.customFields.field_id} == 'yes'"> <xen:set var="$isResponsive" value="{xen:if '@enableResponsive AND !{$noResponsive}', 1, 0}" /> <xen:else /> <xen:set var="$isResponsive" value="0" /> </xen:if> You need to create a custom user field for this though: Admin CP -> Users -> Custom User Fields Upvote 0 Downvote
Admin CP -> Appearance -> Templates -> PAGE_CONTAINER At the top you will see this line: Code: <xen:set var="$isResponsive" value="{xen:if '@enableResponsive AND !{$noResponsive}', 1, 0}" /> You can replace it with code like this to check a custom user field: Rich (BB code): <xen:if is="{$visitor.customFields.field_id} == 'yes'"> <xen:set var="$isResponsive" value="{xen:if '@enableResponsive AND !{$noResponsive}', 1, 0}" /> <xen:else /> <xen:set var="$isResponsive" value="0" /> </xen:if> You need to create a custom user field for this though: Admin CP -> Users -> Custom User Fields