• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Answered Article list layout type

Rangers Nation

New Member
AMS Premium
Showcase
Pick'em
Sportsbook
Hi Bob,

How can I show Article list layout type tile view if a mobile users and Article list layout type list view otherwise?

Thank you for the help!
 
Hi Bob,

How can I show Article list layout type tile view if a mobile users and Article list layout type list view otherwise?

Thank you for the help!
Short answer is that you can't. That is not how XF itself works, they have STYLES and STYLES are RESPONSIVE DESIGN, meaning that at certain break points (wide, medium, narrow) there is different LESS/CSS applied. All Layout Types are also Responsive Design, meaning that each one is specifically designed for wide, medium and narrow devices.

XenForo itself (to include XFRM and XFMG) does not have different LAYOUT TYPES that you can choose. Its a concept that is only available is certain addons (a concept that I introduced in Showcase 15+ years ago).

List View is a LIST style layout. Tile View is a GRID style layout. You can't intermix those (the HTML/LESS/CSS behaviors are different).

The best you can do is redesign one or the other. Responsive does not mean that it loads a new/different template at specific break points.

Hope i wrote that so you can understand it (sometimes programmers have a hard time explaining things lol)
 
Back
Top