Several Templates for catalog list
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!
Several Templates for catalog list
Hello,
I would like to show products within a slider.
I created an extension and I am able to see the changes in items-body-default.html but these changes are global because they override the original file.
Is it possible to select a template within a TYPO3 plugin, e.g. within catalog list so that I can show a product list or a slider?
Thanks in advance
Regards
Stephan
I would like to show products within a slider.
I created an extension and I am able to see the changes in items-body-default.html but these changes are global because they override the original file.
Is it possible to select a template within a TYPO3 plugin, e.g. within catalog list so that I can show a product list or a slider?
Thanks in advance
Regards
Stephan
Re: Several Templates for catalog list
Sure, rename your new template to e.g. items-body-slider.html and configure the template via the TS config field in the "catalog list" plugin:stephan wrote: Is it possible to select a template within a TYPO3 plugin, e.g. within catalog list so that I can show a product list or a slider?
https://aimeos.org/docs/Configuration/C ... plate-body
Re: Several Templates for catalog list
Thank you very much. It is working now.
As an improvement it would be great I could define only one path in typoscript template like this
client.html.catalog.listslider = catalog/list/slider/
Then copy all files below list to this new folder.
The new defined list template should be selectable in a select box like in EXT:news.
Thank you very much.
As an improvement it would be great I could define only one path in typoscript template like this
client.html.catalog.listslider = catalog/list/slider/
Then copy all files below list to this new folder.
The new defined list template should be selectable in a select box like in EXT:news.
Thank you very much.
Re: Several Templates for catalog list
We will keep that in mind but things are a bit more difficult because there can be several folders where templates are stored (each extension can have one).stephan wrote: As an improvement it would be great I could define only one path in typoscript template like this
client.html.catalog.listslider = catalog/list/slider/
Then copy all files below list to this new folder.
The new defined list template should be selectable in a select box like in EXT:news.