A List/Grid View Switcher...
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
A List/Grid View Switcher...
I need to ask how to implement easily and quickly a List/Grid View Switcher?
http://screencast.com/t/V4ERWD55Psfu
thanks.
http://screencast.com/t/V4ERWD55Psfu
thanks.
Re: A List/Grid View Switcher...
Subclass the catalog lists items subpart (https://github.com/aimeos/aimeos-core/b ... andard.php), overwrite the getBody() method and choose another template based on a new parameter. Copy the template and add the icons for switching and the URL including the necessary parameter. You only have to take care about the caching. The parameter should be prefixed with "l_" like "l_layout".
We would like to get the changes into the HTML client too and appreciate an pull request
We would like to get the changes into the HTML client too and appreciate an pull request
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: A List/Grid View Switcher...
Thank's for the support, for how to change the view, in my case from the client side we simplified from CSS, because they needed only the list- kind of view. It would be great, to make those functions, ...now i need to finish quickly the other tasks, so , sorry for i can't workin on it. Maybe somebody will need it -and it will do it-,in the coming future and then you can integrate it.
Thank's once again for the help's.
Thank's once again for the help's.