Has anyone done a list format template that we can use where the customer can switch between column and list layouts?
Announcement
Collapse
No announcement yet.
List and Column format CTGY and SRCH page layout
Collapse
X
-
Originally posted by eldon99 View PostHas anyone done a list format template that we can use where the customer can switch between column and list layouts?Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
-
This has been discussed as an extensions for a future theme.Matt Zimmermann
Director of UI/UX / Miva, Inc.
Comment
-
This would be relatively easy to (dead simple if you used flex box responsive framework). All you'd need to do is swap CSS style sheets with something like:
Code:<script> $(document).ready(function(){ $('#format').click(function(){ if($('link#styles').attr('href')=="grid.css"){ $('#format').attr('value','Switch To Grid Mode') $('link#styles').attr('href','Line.css') } else { $('#format').attr('value','Switch To Line Mode') $('link#styles').attr('href','Day.css') } }) }); </script>
Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.com
Comment
-
I recall having done this for a client. The client had detailed requirements in each version of the grid/listings. (There are always details -- which prevents the 20 question process hell, I digress)
It was a jquery onclick even that did two things, switched the css and ran a different section of the template that covered the grid or the list. It was heavily Bootstrap.
Scott
What help do you need today!
Interactive Design Solutions http://www.southbound.com
MivaMerchant Business Partner | Certified MivaMerchant Web Developer
My T-shirt Collection is mostly MivaCon T-shirts!!
Competitive Rates, Popular Modules, and Integrations:
Product Copy | AutoBaskets | Waitlist Integration| Wholesale Integration
Comment
Comment